For general instructions see https://pre-commit.com/
- repo: https://github.com/kodemaniak/pre-commit-rust
rev: v0.1.0
hooks:
- id: cargo-fmt
- id: cargo-udeps
- id: cargo-audit
- id: cargo-check
- id: cargo-clippy
- id: cargo-test
NOTES
cargo-udeps
needs the nightly toolchain andcargo-udeps
installed (cargo install cargo-udeps
)cargo-audit
needscargo-audit
installed (cargo install cargo-audit
)