Allow manifest dependencies of same-workspace crates to use workspace = true
#13453
Labels
A-manifest
Area: Cargo.toml issues
A-workspace-inheritance
Area: workspace inheritance RFC 2906
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
S-needs-team-input
Status: Needs input from team on whether/how to proceed.
Problem
I have 100+ workspace crates. In order for any of them to use each other, they need to use relative path.
It would be nice to just use:
for in-workspace crates when referring to other same-workspace dependencies. That way, I can move crates around + rename crates easily without having to edit every manifest that uses it in the workspace.
Proposed Solution
It should theoretically be possible without any surface changes at the manifest level. Each workspace crate has a canonical name, and alias could be handled through some additional spec field.
Notes
No response
The text was updated successfully, but these errors were encountered: