For this project, I'm using Rust to generate WebAssembly.
- Rust
- Node / npm (optional for 01 and 02)
Currently, only the nightly toolchain of Rust is supporting WebAssembly:
rustup default nightly
rustup target add wasm32-unknown-unknown
Running rustup default nightly
will let you use rust nighly by default:
- That way, for each command, you won't have to specify the toolchain like:
cargo +nightly [cmd]
- To get back to stable channel (you may have other project relying on stable channel), run:
rustup default stable
- To check which default toolchain you're on, run the following:
rustup toolchain list
- wasm-pack / Doc - wasm workflow tool
- wasm-bindgen / Doc - Facilitating high-level interactions between wasm modules and JavaScript
- wasm-gc - gc-sections for wasm
- rustwasm/wasm-pack-template - A template for starting a rust-wasm project to be used with wasm-pack
- @wasm-tool/wasm-pack-plugin - Webpack plugin for Rust
- nikgraf/webassembly-rust-course
- 📺 WebAssembly by Tensor Programming
- koute/stdweb - A standard library for the client-side Web