EmbarkStudios / cargo-deny

❌ Cargo plugin for linting your dependencies 🦀
http://embark.rs
Apache License 2.0
1.71k stars 83 forks source link

Ignore scripts in dependencies of build/proc-macro crates #572

Open Jake-Shadle opened 12 months ago

Jake-Shadle commented 12 months ago

Right now, if bans.build.include-dependencies is enabled it will check all the dependencies the exact same as the crate itself, which while more complete just results in uninteresting noise due to things like CI/codegen scripts often being packaged into crates even though they are not relevant to dowstream users. There should be an option, defaulted off, to include scripts when checking dependencies, as really native executables are the more interesting thing to check.