Skip to content

cargo metadata should return default workspace members #8033

Closed
@sunshowers

Description

@sunshowers

Describe the problem you are trying to solve

For a workspace, it is possible to specify default members through the workspace.default-members key. It would be great to expose this information through cargo metadata.

Describe the solution you'd like
The same format as workspace_members in cargo metadata -- a list of package IDs.

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-metadataS-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or reviewT-cargoTeam: Cargodisposition-mergeFCP with intent to mergefinished-final-comment-periodFCP complete

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions