diff --git a/Cargo.lock b/Cargo.lock index 898e689..eaa73d0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -41,6 +41,12 @@ version = "3.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" +[[package]] +name = "cargo-husky" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b02b629252fe8ef6460461409564e2c21d0c8e77e0944f3d189ff06c4e932ad" + [[package]] name = "cast" version = "0.3.0" @@ -465,6 +471,7 @@ checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" name = "unicode-locale-parser" version = "0.1.0" dependencies = [ + "cargo-husky", "criterion", ] diff --git a/Cargo.toml b/Cargo.toml index 2a7f9e0..1469e44 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,6 +21,7 @@ include = [ [dependencies] [dev-dependencies] +cargo-husky = { version = "1.5.0", features = ["precommit-hook"] } criterion = "0.5.1" [[bench]] @@ -29,4 +30,4 @@ harness = false [[bench]] name = "parse_locale_id" -harness = false \ No newline at end of file +harness = false