Skip to content

Repository files navigation

Rust hooks for pre-commit

Rust tools package for pre-commit.

Using rust tools with pre-commit

- repo: https://github.com/doublify/pre-commit-rustrev: masterhooks:
- id: fmt
- id: cargo-check

Passing arguments to rustfmt

- repo: https://github.com/doublify/pre-commit-rustrev: masterhooks:
- id: fmtargs: ['--verbose', '--edition', '2018', '--']

About

Rust hooks for pre-commit

Topics

Resources

Stars

205 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors