Testing out cargo-husky.

pull/1124/head
Dessalines 2020-09-10 12:04:00 -05:00
parent 1a0ef37a68
commit 6f4fbc0c60
2 changed files with 12 additions and 0 deletions

7
server/Cargo.lock generated vendored
View File

@ -768,6 +768,12 @@ dependencies = [
"time 0.1.43",
]
[[package]]
name = "cargo-husky"
version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7b02b629252fe8ef6460461409564e2c21d0c8e77e0944f3d189ff06c4e932ad"
[[package]]
name = "cc"
version = "1.0.58"
@ -1851,6 +1857,7 @@ dependencies = [
"base64 0.12.3",
"bcrypt",
"captcha",
"cargo-husky",
"chrono",
"diesel",
"diesel_migrations",

5
server/Cargo.toml vendored
View File

@ -59,3 +59,8 @@ anyhow = "1.0.32"
thiserror = "1.0.20"
background-jobs = " 0.8.0-alpha.2"
reqwest = { version = "0.10", features = ["json"] }
[dev-dependencies.cargo-husky]
version = "1"
default-features = false # Disable features which are enabled by default
features = ["precommit-hook", "run-cargo-fmt", "run-cargo-clippy"]