aboutsummaryrefslogtreecommitdiff
path: root/examples/wasm
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wasm')
-rw-r--r--examples/wasm/Cargo.toml7
-rw-r--r--examples/wasm/src/lib.rs1
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/wasm/Cargo.toml b/examples/wasm/Cargo.toml
index ea61fb921..3679e3857 100644
--- a/examples/wasm/Cargo.toml
+++ b/examples/wasm/Cargo.toml
@@ -2,14 +2,15 @@
2edition = "2021" 2edition = "2021"
3name = "embassy-wasm-example" 3name = "embassy-wasm-example"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0"
5 6
6[lib] 7[lib]
7crate-type = ["cdylib"] 8crate-type = ["cdylib"]
8 9
9[dependencies] 10[dependencies]
10embassy-sync = { version = "0.1.0", path = "../../embassy-sync", features = ["log"] } 11embassy-sync = { version = "0.2.0", path = "../../embassy-sync", features = ["log"] }
11embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["log", "wasm", "nightly", "integrated-timers"] } 12embassy-executor = { version = "0.2.0", path = "../../embassy-executor", features = ["arch-wasm", "executor-thread", "log", "nightly", "integrated-timers"] }
12embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["log", "wasm", "nightly"] } 13embassy-time = { version = "0.1.2", path = "../../embassy-time", features = ["log", "wasm", "nightly"] }
13 14
14wasm-logger = "0.2.0" 15wasm-logger = "0.2.0"
15wasm-bindgen = "0.2" 16wasm-bindgen = "0.2"
diff --git a/examples/wasm/src/lib.rs b/examples/wasm/src/lib.rs
index d44c020b6..edfe8bafc 100644
--- a/examples/wasm/src/lib.rs
+++ b/examples/wasm/src/lib.rs
@@ -1,5 +1,4 @@
1#![feature(type_alias_impl_trait)] 1#![feature(type_alias_impl_trait)]
2#![allow(incomplete_features)]
3 2
4use embassy_executor::Spawner; 3use embassy_executor::Spawner;
5use embassy_time::{Duration, Timer}; 4use embassy_time::{Duration, Timer};