Skip to content

Functionality to glob all crates in workspace when mixed with other content #4593

Open
@nipunn1313

Description

@nipunn1313

We added glob support originally with #3911

However, if we add to Cargo.toml

[workspace]
members = ["**/*"]

Then we get an error like this.

error: failed to read `/Users/nipunn/src/client/rust/.cargo/Cargo.toml`

Here, the */ matches over aggressively to directories/files that aren't Crates. It would be nice to have a way to glob all crates. For now, we have to autogenerate the workspace Cargo.toml with a script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-workspacesArea: workspacesC-bugCategory: bugS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions