Skip to content

[metadata] Add workspace.dependencies and <dep>.workspace to cargo-metadata (Rust 1.64+) #11141

Open

Description

Problem

cargo metada does not show the workspace dependencies nor if a dependency is inherited from the workspace in its output.

Proposed Solution

Add the missing metadata to the output.

Notes

We should also remember to update oli-obk/cargo_metadata at the same time to make it immediately available to most people

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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-propose-closeStatus: A team member has nominated this for closing, pending further input from the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions