aboutsummaryrefslogtreecommitdiff
path: root/examples/wasm/Cargo.toml
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2021-09-13 14:35:40 +0200
committerUlf Lilleengen <[email protected]>2021-09-13 16:42:39 +0200
commite24528051b9ed26157bee93e32e37e7b06b8f4cc (patch)
treebb0c4f201a6a7df9099d27b3a64f92036d645d45 /examples/wasm/Cargo.toml
parentf1c35b40c74db489da8e04f1c2e87a1d4030c617 (diff)
Add WASM support for executor
* Adds an executor for WASM runtimes based on wasm_bindgen. * Add time driver based on JS time handling. * Add example that can run in browser locally. * Update to critical-section version that supports 'std' flag
Diffstat (limited to 'examples/wasm/Cargo.toml')
-rw-r--r--examples/wasm/Cargo.toml17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/wasm/Cargo.toml b/examples/wasm/Cargo.toml
new file mode 100644
index 000000000..77f513ffa
--- /dev/null
+++ b/examples/wasm/Cargo.toml
@@ -0,0 +1,17 @@
1[package]
2authors = ["Ulf Lilleengen <[email protected]>"]
3edition = "2018"
4name = "embassy-wasm-example"
5version = "0.1.0"
6
7[lib]
8crate-type = ["cdylib"]
9
10[dependencies]
11embassy = { version = "0.1.0", path = "../../embassy", features = ["log", "wasm"] }
12
13wasm-logger = "0.2.0"
14wasm-bindgen = "0.2"
15web-sys = { version = "0.3", features = ["Document", "Element", "HtmlElement", "Node", "Window" ] }
16log = "0.4.11"
17critical-section = "0.2.2"