22
33[template ]
44cargo_generate_version = " >=0.22.0"
5- exclude = [" assets" ]
5+ exclude = [" assets/*, Cargo.toml " ]
66
77[placeholders .package_name ]
88type = " string"
99prompt = " What is the name of the package?"
1010
11+ [placeholders .package_description ]
12+ type = " string"
13+ propt = " Enter a project description"
14+
1115[placeholders .license ]
1216type = " string"
1317prompt = " What licenses will the project have?"
@@ -47,21 +51,25 @@ default = false
4751# # License
4852
4953[conditional .'license != "MIT" && license != "all"' ]
50- ignore = [" LICENSE-MIT" ]
54+ exclude = [" LICENSE-MIT" ]
5155
5256[conditional .'license != "APACHE" && license != "all"' ]
53- ignore = [" LICENSE-APACHE" ]
57+ exclude = [" LICENSE-APACHE" ]
5458
5559# # Workflows
5660[conditional .'github_release == false' ]
57- ignore = [" .github/workflows/release.yaml" ]
61+ exclude = [" .github/workflows/release.yaml" ]
5862
5963# # Dependencies
6064[conditional .'dotenv == false' ]
61- ignore = [" .env.example" ]
65+ exclude = [" .env.example" ]
6266
6367[conditional . 'sentry == true' ]
6468type = " string"
6569name = " sentry_dsn"
6670prompt = " What is your sentry dsn?"
67- default = " https://examplePublicKey@o0.ingest.sentry.io/0"
71+ default = " https://examplePublicKey@o0.ingest.sentry.io/0"
72+
73+ # # Files
74+ [conditional . 'sentry == false' ]
75+ exclude = [" ./src/functions.rs" ]
0 commit comments