Open
Description
It would be great to be able to generate compile warning on unused crate specified in Cargo.toml
, similar to #![warn(unused_extern_crates)]
but that works with Rust 2018 where one doesn't use extern crate
.
This could also be implemented as an external cargo tool that one can run to verify (like clippy), but nicest to have built-in and automatic for everyone