mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-02-16 17:02:30 +00:00
![Samuel Maier](/assets/img/avatar_default.png)
Without that feature one will find import errors on opening the webpage, that are hard to debug. The feature was indirectly enabled in the wasm example, however the reason wasn't documented and thus it was easy to miss.
22 lines
669 B
TOML
22 lines
669 B
TOML
[package]
|
|
edition = "2021"
|
|
name = "embassy-wasm-example"
|
|
version = "0.1.0"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
embassy-sync = { version = "0.6.0", path = "../../embassy-sync", features = ["log"] }
|
|
embassy-executor = { version = "0.6.0", path = "../../embassy-executor", features = ["arch-wasm", "executor-thread", "log", "integrated-timers"] }
|
|
embassy-time = { version = "0.3.2", path = "../../embassy-time", features = ["log", "wasm", ] }
|
|
|
|
wasm-logger = "0.2.0"
|
|
wasm-bindgen = "0.2"
|
|
web-sys = { version = "0.3", features = ["Document", "Element", "HtmlElement", "Node", "Window" ] }
|
|
log = "0.4.11"
|
|
|
|
[profile.release]
|
|
debug = 2
|