.github/workflows | ||
.envrc | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.pre-commit-hooks.yaml | ||
flake.lock | ||
flake.nix | ||
hooks.yaml | ||
README.md |
Rust hooks for pre-commit
Rust tools package for pre-commit.
Using rust tools with pre-commit
- repo: https://git.xenia.me.uk/utils/pre-commit-rust
rev: master
hooks:
- id: fmt
- id: cargo-check
Passing arguments to rustfmt
- repo: https://git.xenia.me.uk/utils/pre-commit-rust
rev: master
hooks:
- id: fmt
args: ['--verbose', '--edition', '2018', '--']