-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed as not planned
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Description
Problem
When publishing a workspace based crate that has path based dependencies A -> B -> C -> D you need to run a separate cargo publish command for each dependency:
cargo publish -p d
cargo publish -p c
cargo publish -p b
cargo publish
This requires that the publish commands are ran in the correct order which becomes more difficult as the dependency graph grows.
Proposed Solution
Support publishing all local/path based crates via:
cargo publish --workspace
Notes
No response
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.