Skip to content

cargo-metadata doesn't track target-specific dependencies #4632

@sfackler

Description

@sfackler

While the target configuration for a dependency is included in cargo-metadata's output (e.g. cfg(windows)), it's not all that easy to filter down to the dependencies that are enabled for a given target. It'd be nice if cargo-metadata could optionally perform the target-specific filtering.

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