Installation

Set yourself up for success

Rust

First, you'll need Rust. To install Rust and the cargo build tool, follow the official instructions.

Build Tools

wasm-pack is a tool developed by the Rust / Wasm Working Group and is the recommended tool for building your application. Install using the official install instructions.

cargo-web was the preferred web workflow tool before the introduction of wasm-pack. It is still the quickest way to get up and running and worth installing to run examples that haven't been migrated to support wasm-pack yet. Install it by running:

cargo install cargo-web