Super simple demo of using Rust and web assembly in the browser
-
Install wasm-pack (See https://rustwasm.github.io/wasm-pack/installer/)
-
Install simple-http-server (
cargo install simple-http-server
)
wasm-pack build --target web
simple-http-server .