Updated to the latest version of tmpl
parent
e7f18237a4
commit
10dcacab1f
|
@ -1,8 +0,0 @@
|
||||||
# template.toml
|
|
||||||
# Write any template args here to prompt the user for, giving any defaults/options as applicable
|
|
||||||
|
|
||||||
project_name = "project"
|
|
||||||
version = "0.1.0"
|
|
||||||
author = "Joey Hines"
|
|
||||||
author_email = "joey@ahines.net"
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
name = "{{project_name}}"
|
name = "{{project_name}}"
|
||||||
version = "{{version}}"
|
version = "{{version}}"
|
||||||
authors = ["{{author}} <{{author_email}}>"]
|
authors = ["{{author}} <{{author_email}}>"]
|
||||||
edition = "2018"
|
edition = "{{rust_edition}}"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
prompts:
|
||||||
|
- id: project_name
|
||||||
|
label: Rust Project Name
|
||||||
|
default: project
|
||||||
|
- id: version
|
||||||
|
label: Version
|
||||||
|
default: "0.1.0"
|
||||||
|
- id: author
|
||||||
|
label: Auhtor
|
||||||
|
default: Joey Hines
|
||||||
|
- id: author_email
|
||||||
|
label: Author Email
|
||||||
|
default: joey@ahines.net
|
||||||
|
- id: rust_edition
|
||||||
|
label: Rust Edition
|
||||||
|
default: 2021
|
Loading…
Reference in New Issue