aboutsummaryrefslogtreecommitdiff
path: root/examples/wasm/Cargo.toml
blob: 79d50b584c9ff56635b5d35feb37303ec2f12318 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[package]
edition = "2024"
name = "embassy-wasm-example"
version = "0.1.0"
license = "MIT OR Apache-2.0"
publish = false

[lib]
crate-type = ["cdylib"]

[dependencies]
embassy-sync = { version = "0.7.2", path = "../../embassy-sync", features = ["log"] }
embassy-executor = { version = "0.9.0", path = "../../embassy-executor", features = ["arch-wasm", "executor-thread", "log"] }
embassy-time = { version = "0.5.0", 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

[package.metadata.embassy]
build = [
  { target = "wasm32-unknown-unknown", artifact-dir = "out/examples/wasm" }
]