Setup
You will need the standard Rust toolchain, including , rustc
, andcargo
.
Follow these instructions to install the Rust toolchain.
wasm-pack
is your one-stop shop for building, testing, and publishingRust-generated WebAssembly.
Install cargo-generate
with this command:
npm
is a package manager for JavaScript. We will use it to install and run aJavaScript bundler and development server. At the end of the tutorial, we willpublish our compiled to the npm
registry.
If you already have npm
installed, make sure it is up to date with thiscommand: