diff options
Diffstat (limited to 'examples/wasm')
| -rw-r--r-- | examples/wasm/Cargo.toml | 4 | ||||
| -rw-r--r-- | examples/wasm/README.md | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/wasm/Cargo.toml b/examples/wasm/Cargo.toml index c7f980366..ea61fb921 100644 --- a/examples/wasm/Cargo.toml +++ b/examples/wasm/Cargo.toml | |||
| @@ -7,7 +7,7 @@ version = "0.1.0" | |||
| 7 | crate-type = ["cdylib"] | 7 | crate-type = ["cdylib"] |
| 8 | 8 | ||
| 9 | [dependencies] | 9 | [dependencies] |
| 10 | embassy-util = { version = "0.1.0", path = "../../embassy-util", features = ["log"] } | 10 | embassy-sync = { version = "0.1.0", path = "../../embassy-sync", features = ["log"] } |
| 11 | embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["log", "wasm", "nightly", "integrated-timers"] } | 11 | embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["log", "wasm", "nightly", "integrated-timers"] } |
| 12 | embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["log", "wasm", "nightly"] } | 12 | embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["log", "wasm", "nightly"] } |
| 13 | 13 | ||
| @@ -15,4 +15,4 @@ wasm-logger = "0.2.0" | |||
| 15 | wasm-bindgen = "0.2" | 15 | wasm-bindgen = "0.2" |
| 16 | web-sys = { version = "0.3", features = ["Document", "Element", "HtmlElement", "Node", "Window" ] } | 16 | web-sys = { version = "0.3", features = ["Document", "Element", "HtmlElement", "Node", "Window" ] } |
| 17 | log = "0.4.11" | 17 | log = "0.4.11" |
| 18 | critical-section = "1.1" | 18 | critical-section = { version = "1.1", features = ["std"] } |
diff --git a/examples/wasm/README.md b/examples/wasm/README.md index 4bed4a797..b7fee2dc8 100644 --- a/examples/wasm/README.md +++ b/examples/wasm/README.md | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | Examples use a CLI tool named `wasm-pack` to build this example: | 3 | Examples use a CLI tool named `wasm-pack` to build this example: |
| 4 | 4 | ||
| 5 | ``` | 5 | ``` |
| 6 | cargo install wasm-pack | 6 | cargo install wasm-pack --version 0.9.1 |
| 7 | ``` | 7 | ``` |
| 8 | 8 | ||
| 9 | ## Building | 9 | ## Building |
