0.2.0 • Published 1 year ago
passroster-rust-utils v0.2.0
Running and building
- Install rust https://rustup.rs/
- Install wasm-pack https://rustwasm.github.io/wasm-pack/installer/
- Run
npm run build
to build the wasm module - Run
wasm-pack test
to run internal rust tests - Run
npm run build-test
to build and run JEST tests
Publishing to NPM
- Bump of version in
Cargo.toml
andpackage.json
- Run
npm run build
to build the wasm module - Run
npm publish
to publish to NPM