cargo-deny icon indicating copy to clipboard operation
cargo-deny copied to clipboard

Add option to require default-features = false

Open MikailBag opened this issue 4 years ago • 0 comments

Should close #206

Unfortunately, the current implementation is too strict IMHO: it triggers even if dependency does not have a default feature defined. I have not found a way how to check it (it seems that I need Kid aka cargo_metadata::PackageId to get package details, but what I have is cargo_metadata::Dependency which does not contain any identifiers), so I'd like to get some piece of advice on it.

Also, I'm unsure whether this lint should check non-local packages

MikailBag avatar May 18 '21 20:05 MikailBag