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
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 useextern 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
clippy:lint for unused cratesrust:2018: fix lint on unused dependencies