Skip to content

Commit

Permalink
Merge pull request #418 from Concordium/templates/allow-0.21
Browse files Browse the repository at this point in the history
Allow 0.20 version of cargo generate.
  • Loading branch information
abizjak authored Apr 4, 2024
2 parents a26a3d8 + 8f60523 commit 49d9c78
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/cis2-nft/cargo-generate.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[template]
cargo_generate_version = ">= 0.17.0, < 0.20.0"
cargo_generate_version = ">= 0.17.0, < 0.21.0"

[placeholders]
description = { type="string", prompt="Description for the project?" }
Expand Down
2 changes: 1 addition & 1 deletion templates/credential-registry/cargo-generate.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[template]
cargo_generate_version = ">= 0.17.0, < 0.20.0"
cargo_generate_version = ">= 0.17.0, < 0.21.0"

[hooks]
pre = ["pre-script.rhai"] # a script for setting default values for the variables when `template_type = default`
Expand Down
2 changes: 1 addition & 1 deletion templates/default/cargo-generate.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[template]
cargo_generate_version = ">= 0.17.0, < 0.20.0"
cargo_generate_version = ">= 0.17.0, < 0.21.0"

[placeholders]
description = { type="string", prompt="Description for the project?" }

0 comments on commit 49d9c78

Please sign in to comment.