Initial commit

This commit is contained in:
DavidOnTop 2024-01-28 16:35:30 +01:00
commit fb17f39bb1
No known key found for this signature in database
GPG key ID: FAB914DDC2F180EB
15 changed files with 932 additions and 0 deletions

27
cargo-generate.toml Normal file
View file

@ -0,0 +1,27 @@
[template]
ignore = ["README.md"]
[hooks]
pre = ["pre.rhai"]
post = ["post.rhai"]
[placeholders.license]
type = "string"
prompt = "License?"
default = "MIT"
choices = ["MIT", "GPL3", "GLWTPL"]
[conditional.'license == "MIT"']
ignore = ["LICENSE-GLWTPL", "LICENSE-GPL3"]
[conditional.'license == "GPL3"']
ignore = ["LICENSE-GLWTPL", "LICENSE-MIT"]
[conditional.'license == "GLWTPL"']
ignore = ["LICENSE-MIT", "LICENSE-GPL3"]
[conditional.'crate_type == "lib"']
ignore = ["src/main.cpp"]
[conditional.'crate_type == "bin"']
ignore = ["src/lib.cpp", "src/lib.hpp"]