mirror of https://github.com/vacp2p/zerokit.git
de5eb2066a
Since profile info specified inside workspace members `Cargo.toml`'s is ignored by Cargo, this replaces the place to specify these details for the workspace-level `Cargo.toml`. NOTE that `panic` and `rpath` aren't supported with the Overwritting feature. Therefore, the only required thing (if considered necessary) is to create a new profile which also enables these things. Resolves: #93 |
||
---|---|---|
.. | ||
resources | ||
src | ||
tests | ||
.gitignore | ||
Cargo.toml | ||
Makefile.toml | ||
README.md |
README.md
RLN for WASM
This library is used in waku-org/js-rln
Building the library
- Install
wasm-pack
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- Install
cargo-make
cargo install cargo-make
- Compile zerokit for
wasm32-unknown-unknown
:
cd rln-wasm
cargo make build
Running tests
cd rln-wasm
cargo make test
Publishing a npm package
cd rln-wasm
cargo make login
cargo make publish