mirror of
https://github.com/LUDevNet/ParadoxServer.git
synced 2025-12-21 12:40:26 -06:00
Add pre-commit
This commit is contained in:
11
.pre-commit-config.yaml
Normal file
11
.pre-commit-config.yaml
Normal 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$"
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user