Skip to content

Support graph pruning by target #63

@Jake-Shadle

Description

@Jake-Shadle

cargo-metadata has added support for kind/target for dependencies rust-lang/cargo#7132, this would allow users to specify which targets they actually care about, rather than...all of them.

For example, the ring crate has a dependency on web-sys which pulls in a ton of additional dependencies, but they are only relevant if you are building ring for wasm, however you currently can't determine that is the case with cargo-metadata, so cargo-deny considers web-sys and all of its transitive dependencies for licensing, multiple versions, and security vulnerabilities, even if the crate is never actually built for wasm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions