Skip to content

Cargo metadata subcommand should work with workspaces #3003

@matklad

Description

@matklad

Currently it gives

error: manifest path `/home/matklad/projects/vulkano/Cargo.toml` is a virtual manifest, but this command requires running against an actual package in this workspace

Ideally it should return the info in the same format as metadata command for the non-virtual manifest. The only obstacle seems to be the root node in the resolve.

And perhaps for any package that is a part of the workspace cargo metadata should indicate it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions