Skip to content

Add include and exclude information to metadata #13331

@GuillaumeGomez

Description

@GuillaumeGomez

Problem

I'm currently working on rust-lang/rust-clippy#11677. However, to finish this lint, I need to have the include and exclude information in the metadata (to be used with cargo_metadata).

Proposed Solution

I think that to prevent having to recompute include and exclude when using it from metadata and duplicate what cargo does, it should contain the equivalent of cargo package --list. An initial implementation was done in

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-metadataCommand-packageS-needs-team-inputStatus: Needs input from team on whether/how to proceed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions