Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/doublify/pre-commit-rust
Rust hooks for pre-commit
https://github.com/doublify/pre-commit-rust
git pre-commit rust
Last synced: 3 months ago
JSON representation
Rust hooks for pre-commit
- Host: GitHub
- URL: https://github.com/doublify/pre-commit-rust
- Owner: doublify
- Created: 2017-04-13T12:28:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-11-25T05:50:26.000Z (12 months ago)
- Last Synced: 2024-06-28T03:42:47.237Z (4 months ago)
- Topics: git, pre-commit, rust
- Size: 16.6 KB
- Stars: 156
- Watchers: 4
- Forks: 67
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rust hooks for pre-commit
[Rust](https://www.rust-lang.org) tools package for [pre-commit](https://pre-commit.com).
## Using rust tools with pre-commit
```yaml
- repo: https://github.com/doublify/pre-commit-rust
rev: master
hooks:
- id: fmt
- id: cargo-check
```## Passing arguments to rustfmt
```yaml
- repo: https://github.com/doublify/pre-commit-rust
rev: master
hooks:
- id: fmt
args: ['--verbose', '--edition', '2018', '--']
```