rp2040-project-template/cargo-generate.toml
Em Shotton 863c20902c
Fix for cargo-generate@0.23.0 failing (#94)
Co-authored-by: Em Shotton <itsemshotton@gmail.com>
2025-03-14 20:25:57 +11:00

17 lines
478 B
TOML

[template]
cargo_generate_version = ">=0.9.0"
exclude = [".github/workflows/ci_checks.yml"]
[hooks]
pre = ["cargo-generate/remove_rprs.rhai"]
[placeholders]
flash_method = { prompt = "Which flashing method do you intend to use?", choices = [
"probe-rs",
"elf2uf2-rs",
"custom",
"none"
], default = "probe-rs", type = "string" }
[conditional.'flash_method == "custom"'.placeholders]
flash_method_custom = { prompt = "Enter the runner command to use", type = "string" }