Add `cargo new --workspace` to create a workspace
*[View all comments](https://triagebot.infra.rust-lang.org/gh-comments/rust-lang/cargo/issues/8365)* <!-- Thanks for filing a 🙋 feature request 😄! --> **Describe the problem you are trying to solve** <!-- A clear and concise description of the problem this feature request is 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** <!-- A clear and concise description of what you want to happen. --> Add the option `--workspace` to `cargo new` that creates a new workspace with the provided name. **Notes** <!-- Any additional context or information you feel may be relevant to the issue. --> 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
Posted by camelid on Jun 16, 2020, 3:12 AM
Tags
Related issues
Raise real-world problems, find people facing the same issue, and discuss solutions.3,500 issues0 comments
support (Sysadmin)
Support connecting to remote devcontainers (devcontainer on remote host)
Option to use Waffle menu or links displayed normally
I also attempted to package ROCM on musl.
But why is there no such pushback agains linux kernel?
OpenCode Support
Upcoming changes to the tado° API
Allow Mac users to use Apple native containerization
Support for the Containerization Framework on macOS
Add `cargo new --workspace` to create a workspace
*[View all comments](https://triagebot.infra.rust-lang.org/gh-comments/rust-lang/cargo/issues/8365)* <!-- Thanks for filing a 🙋 feature request 😄! --> **Describe the problem you are trying to solve** <!-- A clear and concise description of the problem this feature request is 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** <!-- A clear and concise description of what you want to happen. --> Add the option `--workspace` to `cargo new` that creates a new workspace with the provided name. **Notes** <!-- Any additional context or information you feel may be relevant to the issue. --> 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
Comments (0)
No comments yet. Start the discussion.