Playground for doing rust stuff in the browser
src | ||
tests | ||
www | ||
.gitignore | ||
Cargo.toml | ||
README.md |
rust-wasm
Playground for rust stuff in the browser. Currently it is a nice visualisation.
Build
wasm-pack build
cd www
npm install
Run
cd www
npm run start
This command automatically watches the files, so you can build rust stuff and it will automatically appear.
Deploy
cd www
npm run build
Then copy the dist directory to a server.