Please follow the guidelines in the CONTRIBUTING.md document.
We use cargo
to build this repo. Make sure you have rust stable installed. To build the repo:
cargo build
There are two suites of tests that can be executed from this repo; the regular cargo tests and the ic-ref tests. In order to run the ic-ref tests, you will need a running local reference server. If you do not have one, those tests will be ignored.
To release, increase the version number in all crates and run cargo build
to update the lock file.
This repo has multiple packages in its Cargo workspace.