-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
Description
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
jsgf, anderejd, maxcountryman, JJJollyjim, tmcguire and 24 moreschneiderfelipe