Cargo Features
[dependencies]
cargo-husky = { version = "1.5.0", default-features = false, features = ["prepush-hook", "postmerge-hook", "run-cargo-test", "run-cargo-fmt", "run-for-all", "user-hooks"] }
- default = prepush-hook, run-cargo-test, run-for-all
-
These default features are set whenever
cargo-husky
is added without
somewhere in the dependency tree.default-features = false - prepush-hook default
- precommit-hook postmerge-hook
- run-cargo-test default
- run-cargo-check run-cargo-clippy run-cargo-fmt
- run-for-all default
- user-hooks
cargo-husky has 7 features without comments.