Closed WiSaGaN closed 2 years ago
Same thing here: in this repo (already merged) the foreign-types
crate is directly unused, but openssl
depends on that and the tool does not show that the dependency could be removed from Cargo.toml
.
I write a small tool for this. https://github.com/light4/cargo-inner
Currently,
cargo +nightly udeps
showsAll deps seem to have been used.
for below:I expect it to show
time
dependency as unused since we can remove it fromCargo.toml
. I am not sure whether this should be a bug issue or a feature request though.Very useful tool by the way!