A template for cargo generate that aims to be a starting point suitable for the vast majority of rust projects that will be hosted on GitHub.
See the project website.
- Added the
config.toml
andrustfmt.toml
I usually use - Switched to a GPL 3 license
- Added
ci.yml
Here are my configs:
# ~/.cargo/cargo-generate.toml
[favorites.demo]
git = "https://github.com/AntoniosBarotsis/template"
vcs = "Git"
init = false
overwrite = true
# ~/.cargo/config.toml
[alias]
gen = "generate demo"
Usage: cargo gen