Install Rust: https://www.rust-lang.org/tools/install
Install the crates used for formating, linging and coverage:
$ sh scripts/setup.sh
We provide git hooks that match the Github action that will take place when you push your code.
You can find those under .git_hooks/
and install them by running:
$ sh scripts/install_git_hooks.sh
We use Taplo: https://taplo.tamasfe.dev/
Lint all TOML files in the project:
$ taplo format
We use Mozilla Grcov: https://github.com/mozilla/grcov
Run the test coverage script:
$ sh scripts/test_coverage.sh
It will output profraw files under ./target/debug/profraw/
, create a html report under ./target/debug/coverage/
and open it.