-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
A-workspacesArea: workspacesArea: workspacesC-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`Command-newS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Description
Describe the problem you are trying to solve
One has to manually create a new directory and setup a Cargo.toml
, rather than being able to simply run cargo new foo --workspace
and have a basic template set-up.
Describe the solution you'd like
Add the option --workspace
to cargo new
that creates a new workspace with the provided name.
Notes
The feature is not too important, but it seems like it would streamline the process of creating a new workspace a bit.
For general template support, see #5151
For adding workspace members to a workspace, see #6378
windy1, Waridley, egormalyutin, olehmisar, Demindiro and 207 moreaalouaoui, vexx32, gmosx, IohannRabeson, francois-de-mareschal and 47 more
Metadata
Metadata
Assignees
Labels
A-workspacesArea: workspacesArea: workspacesC-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`Command-newS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.