cargo-deny
cargo-deny copied to clipboard
Ban direct dependency only
Is your feature request related to a problem? Please describe.
I would like to ban direct dependency on the "http" crate in our project. All use of it should be via the re-exports provided by other crates, as this ensures that the correct version of "http" is used.
This can be done by doing { crate = "http", wrappers = [ ... list 50 crates here...] } , but that will require regular maintenance to keep it up to date
Describe the solution you'd like
Some syntax that allows the http crate only indirectly, not used directly in workspace members, including not in dev-deps, etc.
Describe alternatives you've considered
Additional context