From b8388c488ce4bad9a4df0fe55e68791e2c75a818 Mon Sep 17 00:00:00 2001 From: webbrain-one <295484252+webbrain-one@users.noreply.github.com> Date: Tue, 4 Aug 2026 12:05:13 +0300 Subject: [PATCH] Move cargo-husky to dev-dependencies cargo-husky was listed as a regular dependency, causing its build script to run for downstream consumers. This installed git hooks in consumer repositories and ran checks on their code. Moving it to dev-dependencies restricts hook installation to this crate's development workflow. --- Cargo.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3cfb688..18ff8ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,7 +38,6 @@ chrono = { version = "0.4.41", features = ["serde"] } # Parsing and text processing regex = "1.10.2" quick-xml = { version = "0.37.5", features = ["serialize"] } -cargo-husky = { version = "1.5.0", features = ["precommit-hook", "run-cargo-fmt", "run-cargo-clippy", "run-cargo-check"] } html2text = "0.14.4" html-escape = "0.2.13" scraper = "0.23.1" @@ -46,7 +45,7 @@ clap = { version = "4.5.1", features = ["env"] } [dev-dependencies] -cargo-husky = "1.5.0" +cargo-husky = { version = "1.5.0", features = ["precommit-hook", "run-cargo-fmt", "run-cargo-clippy", "run-cargo-check"] } # Testing dependencies mockito = "1.7.0" tempfile = "3.19.1"