Automatically register workspace members in workspace.dependencies
in cargo new
#15180
Labels
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Command-new
S-blocked-external
Status: ❌ blocked on something out of the direct control of the Cargo project, e.g., upstream fix
Problem
In using a workspace, I'd like it to be easy to setup workspace members to be used with
workspace = true
which includes reducing the number of places I need to update paths as I move packages in the workspace.Proposed Solution
If you have the following workspace
[workspace]
and you run
$ cargo new foo
You should get
Notes
RFC 2906 requested we implicitly add
version
when we seepath
which was rejected during stabilization.#13453 requests we implicitly make workspace members available for
workspace = true
but this comes at many costs.The text was updated successfully, but these errors were encountered: