Let the user set a default VCS ignore file with cargo init/new #10795
Labels
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Problem
I like the idea of having a git file in my new projects, however the one currently produced by cargo is severely lacking in customization.
Proposed Solution
Solution 1
I propose to add these options in the config.toml of cargo:
And cargo have only to copy/paste the file
Solution 2
To go further!
Having one default directory create by the user himself
Solution 3
To go even further!
We could create a set of default directories that we could choose with an option.
With a
.cargo/templates/
folder for example:Or something like that 😃
Notes
No response
The text was updated successfully, but these errors were encountered: