Formatting: rustup component add rustfmt
Clippy: rustup component add clippy
Tarpaulin cargo install cargo-tarpaulin
cargo fmt --all -- --check
cargo clippy --all-features --workspace --all-targets -- -D warnings
- Install hook:
sh ./install-commit-hook.sh
- Remove hook:
sh ./remove-commit-hook.sh
Note: The pre-commit hooks take a while to run all checks.