Skip to content
This repository was archived by the owner on May 11, 2024. It is now read-only.

pxeger/pre-commit-rust

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust hooks for pre-commit

Rust tools package for pre-commit, using nightly versions of Rust.

Using rust tools with pre-commit

- repo: https://github.com/pxeger/pre-commit-rust
  rev: master
  hooks:
  - id: fmt
  - id: cargo-check

Passing arguments to rustfmt

- repo: https://github.com/pxeger/pre-commit-rust
  rev: master
  hooks:
  - id: fmt
    args: ['--verbose', '--edition', '2018', '--']

Licence

Material in this repository is not substantial enough to be copyrightable, so you can do what you like with it.

About

Rust hooks for pre-commit

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Rust 100.0%