This repository has been archived by the owner on Nov 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathcargo-generate.toml
72 lines (60 loc) · 1.74 KB
/
cargo-generate.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[template]
cargo_generate_version = ">=0.17.4"
ignore = [".git", ".github/dependabot.yml", ".github/workflows/ci_docker.yml", ".github/workflows/ci.yml", ".github/workflows/issue_handler.yml", ".github/verify.sh", "README.md"]
[hooks]
pre = ["pre-script.rhai"]
post = ["post-script.rhai"]
[placeholders.mcu]
type = "string"
prompt = "Which MCU to target?"
choices = ["esp32", "esp32c2", "esp32c3", "esp32c6", "esp32h2", "esp32s2", "esp32s3"]
default = "esp32"
[placeholders.advanced]
type = "bool"
prompt = "Configure advanced template options?"
default = false
[conditional.'advanced'.placeholders.alloc]
type = "bool"
prompt = "Enable allocations via the esp-alloc crate?"
default = false
[conditional.'advanced'.placeholders.wifi]
type = "bool"
prompt = "Enable WiFi/Bluetooth/ESP-NOW via the esp-wifi crate?"
default = false
[conditional.'advanced'.placeholders.devcontainer]
type = "bool"
prompt = "Configure project to use Dev Containers (VS Code and GitHub Codespaces)?"
default = false
[conditional.'advanced'.placeholders.wokwi]
type = "bool"
prompt = "Configure project to support Wokwi simulation with Wokwi VS Code extension?"
default = false
[conditional.'advanced'.placeholders.ci]
type = "bool"
prompt = "Add CI files for GitHub Action?"
default = false
[conditional.'!devcontainer']
ignore = [
".devcontainer/",
".vscode/tasks.json",
"docs/",
"scripts/",
".dockerignore",
]
[conditional.'!ci']
ignore = [".github"]
[conditional.'!wokwi']
ignore = [".vscode/launch.json", "diagram.json", "wokwi.toml"]
[conditional.'!advanced']
ignore = [
".github",
".vscode/launch.json",
".vscode/tasks.json",
".devcontainer/",
"docs/",
"scripts/",
".github",
".dockerignore",
"diagram.json",
"wokwi.toml",
]