Use cargo-husky to add automatic git commit/push hooks.
This commit is contained in:
parent
fdfbd4b08e
commit
d0af946b9b
|
@ -16,7 +16,7 @@ aes-ctr = "*"
|
||||||
zeroize = "*"
|
zeroize = "*"
|
||||||
rsa = "*"
|
rsa = "*"
|
||||||
simple_asn1= "*"
|
simple_asn1= "*"
|
||||||
subtle = "2.2.2"
|
subtle = "*"
|
||||||
stream-cipher = "*"
|
stream-cipher = "*"
|
||||||
num-traits = "*"
|
num-traits = "*"
|
||||||
num-bigint = "*"
|
num-bigint = "*"
|
||||||
|
@ -40,3 +40,11 @@ version = "0.8.2"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
hex-literal = "*"
|
hex-literal = "*"
|
||||||
|
|
||||||
|
# This is a magic crate that runs the tests and checks the format
|
||||||
|
# before it lets you commit or push. It installs git hooks for this whenever
|
||||||
|
# you say "cargo test".
|
||||||
|
[dev-dependencies.cargo-husky]
|
||||||
|
version = "1"
|
||||||
|
features = ["precommit-hook", "run-cargo-test",
|
||||||
|
"run-cargo-fmt", "run-for-all" ]
|
Loading…
Reference in New Issue