passroster-rust-utils
v0.2.0
Published
1. Install rust https://rustup.rs/ 2. Install wasm-pack https://rustwasm.github.io/wasm-pack/installer/ 3. Run `npm run build` to build the wasm module 4. Run `wasm-pack test` to run internal rust tests 5. Run `npm run build-test` to build and run JEST te
Downloads
197
Readme
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