Skip to content

Get warning on unused crates in Cargo.toml #16

Open
@repi

Description

@repi

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions