Response Verification Rust Crate
Build
cargo build -p ic-response-verification
Test
cargo test -p ic-response-verification
Wasm Test
wasm-pack test --node packages/ic-response-verification --features=js
Wasm Build
./scripts/package.sh
Link NPM package
From the root of this repository:
pushd pkg && sudo npm link && popd
From another project:
npm link @dfinity/response-verification
Format
Format rust files.
cargo fmt -p ic-response-verification
Build docs
cargo doc -p ic-response-verification --no-deps --open