Skip to content

Workspace Support for cargo add #11152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
theduke opened this issue Sep 27, 2022 · 1 comment
Closed

Workspace Support for cargo add #11152

theduke opened this issue Sep 27, 2022 · 1 comment
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`

Comments

@theduke
Copy link

theduke commented Sep 27, 2022

Problem

The newly stabilized workspace inheritance and workspace level dependencies are currently not supported by cargo add.

Proposed Solution

Add a -w / --workspace flag to cargo add that will add dependencies as a workspace dependency.

Notes

No response

@theduke theduke added the C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` label Sep 27, 2022
@weihanglo
Copy link
Member

Thank you for your suggestion! It seems to be a duplicate of #10608. Anyone interested in it can continue discussing there. Closing now.

@weihanglo weihanglo closed this as not planned Won't fix, can't repro, duplicate, stale Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Projects
None yet
Development

No branches or pull requests

2 participants