cargogenerateusername-on-github/mytemplate
# is the same ascargogenerategh:username-on-github/mytemplate
# is the same ascargogenerate--githttps://github.com/username-on-github/mytemplate.git
# for gitlab.comcargogenerategl:username-on-gitlab/mytemplate
[placeholders.hypervisor]type="string"prompt="What hypervisor to use?"choices=["uhyve","qemu"]default="qemu"[placeholders.network_enabled]type="bool"prompt="Want to enable network?"default=true
[package]# the usual stuff[dependencies]{%ifcrate_type== "bin"%}structopt="0.3.21"{%endif%}# other general dependencies{%ifcrate_type== "bin"%}[[bin]]path="src/main.rs"name="{{crate_name}}-cli"{%endif%}