diff --git a/.cargo-husky/hooks/pre-commit b/.cargo-husky/hooks/pre-commit deleted file mode 100755 index 465e7d775..000000000 --- a/.cargo-husky/hooks/pre-commit +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -set -e - -cargo +nightly fmt -- --check - -cargo clippy --workspace --tests --all-targets --all-features -- \ - -D warnings -D deprecated -D clippy::perf -D clippy::complexity -D clippy::dbg_macro -cargo clippy --workspace -- \ - -D clippy::unwrap_used diff --git a/Cargo.lock b/Cargo.lock index 4d33d21fe..706994b69 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -585,12 +585,6 @@ dependencies = [ "serde_json", ] -[[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.72" @@ -2076,7 +2070,6 @@ dependencies = [ "actix-rt", "actix-web", "anyhow", - "cargo-husky", "chrono", "clokwerk", "console-subscriber", diff --git a/Cargo.toml b/Cargo.toml index 5dfcdf096..1b367d7ea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -71,11 +71,3 @@ doku = "0.10.2" opentelemetry = { version = "0.16", features = ["rt-tokio"] } opentelemetry-otlp = "0.9" tracing-opentelemetry = "0.16" - -[dev-dependencies.cargo-husky] -version = "1.5.0" -default-features = false # Disable features which are enabled by default -features = ["user-hooks"] - -[package.metadata.cargo-udeps.ignore] -development = ["cargo-husky"]