embassy/examples/wasm
Dario Nieuwenhuis 1f746e0939 Remove the authors field from Cargo.tomls
It currently contains whoever was first to write some code for the crate,
even if many more people have contributed to it later.

The field is "sort of" deprecated, it was made optional recently:
https://rust-lang.github.io/rfcs/3052-optional-authors-field.html

Due the the reasons listed there I believe removing it is better than
setting it to generic fluff like "The Embassy contributors".
2022-06-18 02:16:40 +02:00
..
src Run rustfmt. 2022-06-12 22:22:31 +02:00
Cargo.toml Remove the authors field from Cargo.tomls 2022-06-18 02:16:40 +02:00
index.html Add WASM support for executor 2021-09-13 16:42:39 +02:00
README.md Add WASM support for executor 2021-09-13 16:42:39 +02:00

WASM example

Examples use a CLI tool named wasm-pack to build this example:

cargo install wasm-pack

Building

To build the example, run:

wasm-pack build --target web

Running

To run the example, start a webserver server the local folder:

python -m http.server

Then, open a browser at https://127.0.0.1:8000 and watch the ticker print entries to the window.