Add pre-commit

This commit is contained in:
Xiphoseer
2022-12-18 20:30:33 +01:00
parent 1f68505c20
commit 8860ed1712
2 changed files with 12 additions and 1 deletions

11
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,11 @@
repos:
- repo: local
hooks:
- id: cargo-fmt
name: Cargo Formatter
language: system
entry: cargo
args: [fmt]
pass_filenames: false
always_run: true
files: "\\.rs$"

View File

@@ -37,7 +37,7 @@ pretty_env_logger = "0.4.0"
http = "0.2.2"
http-body = "0.4.5"
mapr = "0.8.0"
notify = "5.0.0-pre.13"
notify = "5.0.0"
openapiv3 = "0.5"
percent-encoding = "2.1.0"
pin-project = "1.0"