https://github.com/taurr/template-template-rs
A `cargo-generate` template for a new `Rust` template!
https://github.com/taurr/template-template-rs
cargo-generate rust template
Last synced: 11 months ago
JSON representation
A `cargo-generate` template for a new `Rust` template!
- Host: GitHub
- URL: https://github.com/taurr/template-template-rs
- Owner: taurr
- Created: 2022-02-20T14:56:16.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-20T14:57:32.000Z (over 4 years ago)
- Last Synced: 2025-01-31T15:36:28.954Z (over 1 year ago)
- Topics: cargo-generate, rust, template
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# template-template-rs
A [cargo-generate] template for a new [Rust] template!
## Tips'n'tricks
If the template is used on a regular basis, [cargo-generate] allows to setup favorite templates and default variables.
To do this, open or create the file `$CARGO_HOME/cargo-generate.toml`, insert this:
```toml
[favorites.template]
git = "taurr/template-template-rs"
```
After this, the template can be expanded using a simple:
```shell
cargo generate template
```
[Rust]:https://www.rust-lang.org
[cargo-generate]:https://github.com/cargo-generate/cargo-generate