From 8f60523cb2aa35b67ccbcb49cf230be0470e6599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Bizjak?= Date: Thu, 4 Apr 2024 10:40:01 +0200 Subject: [PATCH] Allow 0.21 version of cargo generate. --- templates/cis2-nft/cargo-generate.toml | 2 +- templates/credential-registry/cargo-generate.toml | 2 +- templates/default/cargo-generate.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/cis2-nft/cargo-generate.toml b/templates/cis2-nft/cargo-generate.toml index 4cd9a80e..bfd05f82 100644 --- a/templates/cis2-nft/cargo-generate.toml +++ b/templates/cis2-nft/cargo-generate.toml @@ -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?" } diff --git a/templates/credential-registry/cargo-generate.toml b/templates/credential-registry/cargo-generate.toml index 174b3f13..518ccf5d 100644 --- a/templates/credential-registry/cargo-generate.toml +++ b/templates/credential-registry/cargo-generate.toml @@ -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` diff --git a/templates/default/cargo-generate.toml b/templates/default/cargo-generate.toml index bea8120a..66865abc 100644 --- a/templates/default/cargo-generate.toml +++ b/templates/default/cargo-generate.toml @@ -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?" }