It's pretty common for crates listed in Cargo.toml to become unused over time. I don't know of a tool that can figure this out, but it definitely needs the help of rustc. Clippy is in a position to figure this out. rustc should be able to track whether any names from a crate explicitly loaded by rustc are actually used and report when none are.
cc @siddontang
It's pretty common for crates listed in
Cargo.tomlto become unused over time. I don't know of a tool that can figure this out, but it definitely needs the help of rustc. Clippy is in a position to figure this out. rustc should be able to track whether any names from a crate explicitly loaded by rustc are actually used and report when none are.cc @siddontang