Workspace: Inherit project-oriented Cargo.toml attributes #6828
Labels
A-workspaces
Area: workspaces
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Describe the problem you are trying to solve
Having a workspace set up for multiple related crates, there's usually a big chunk of
Cargo.toml
attributes which need to be copy-pasted across all instances.For example, in UNIC, we have (at least) these lines in all (published)
Cargo.toml
files:Most of such properties are project-specific, but not crate-specific. For example, an indicator of that would be the fact that the share the same
repository
value.Describe the solution you'd like
It would be great if we could actually have such project-oriented attributes inherit from the workspace's main
Cargo.toml
, and do no need to maintain copies of them.Notes
Wdyt?
The text was updated successfully, but these errors were encountered: