Expand description
Building a Rust crate into a .wasm
binary.
Modules
- Checking for the wasm32 target
Structs
- Used when comparing the currently installed wasm-pack version with the latest on crates.io.
Functions
- Run
cargo build
targettingwasm32-unknown-unknown
. - Runs
cargo build --tests
targetingwasm32-unknown-unknown
. - Ensure that
rustc
is present and that it is >= 1.30.0 - Checks and returns local and latest versions of wasm-pack