I have a library and want to make sure that none of the dependencies in my dependency tree use wildcard dependencies. Wildcard dependencies are evil :(
Can I check this recursively with cargo
on the command line? Or can I check it manually in Cargo.lock
?
EDIT : while crates.io
rejects mailboxes with wildcard dependencies since the release of Rust 1.6 ( roughly , thanks to Steve Klabnik), there are still old mailboxes on crates.io
that have wildcard dependencies. I can load my own box, which depends on such an old box. Therefore, my box indirectly also depends on wildcard dependencies. This is what I want to avoid and test.
source share