Skip to content
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

Add option to skip manifest guide in cargo-new #9626

Closed

Conversation

pbzweihander
Copy link

Every Cargo.toml file generated with cargo new command includes the following line:

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

I think it would be great if I can choose to remove this line.

This PR adds an option not to include the guide.

@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @ehuss (or someone else) soon.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 25, 2021
@ehuss
Copy link
Contributor

ehuss commented Jun 25, 2021

Thanks for the PR! However, I would prefer to not add individual options to control the generated project, but instead to pursue templates which would allow people to customize projects however they want. In the meantime, there are tools such as cargo-generate or kickstart which can create customized projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants