Testing out cargo-husky.

This commit is contained in:
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", "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]] [[package]]
name = "cc" name = "cc"
version = "1.0.58" version = "1.0.58"
@ -1851,6 +1857,7 @@ dependencies = [
"base64 0.12.3", "base64 0.12.3",
"bcrypt", "bcrypt",
"captcha", "captcha",
"cargo-husky",
"chrono", "chrono",
"diesel", "diesel",
"diesel_migrations", "diesel_migrations",

5
server/Cargo.toml vendored
View file

@ -59,3 +59,8 @@ anyhow = "1.0.32"
thiserror = "1.0.20" thiserror = "1.0.20"
background-jobs = " 0.8.0-alpha.2" background-jobs = " 0.8.0-alpha.2"
reqwest = { version = "0.10", features = ["json"] } 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"]