Make sure you have wasm-pack installed.
Install Dependencies
cargo build
Rust components can be compiled to WASM using the scripts in package.json
:
pn rust:add
||wasm-pack build --out-dir ../../../wasm/components/add rust/components/add
pn rust:uuid
||wasm-pack build --out-dir ../../../wasm/components/uuid rust/components/uuid