From 8af7a6c7273baa1d84f21441942f62a96aa4825b Mon Sep 17 00:00:00 2001 From: soul-walker <31162815+soul-walker@users.noreply.github.com> Date: Thu, 8 Aug 2024 14:43:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=A0=E4=BD=8D=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.toml | 2 +- cargo-generate.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9cfe8ec..5118c2b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "{{ project_name }}" +name = "{{ crate_name }}" version = "0.1.0" edition = "2021" diff --git a/cargo-generate.toml b/cargo-generate.toml index 4d7a5e6..3e678c8 100644 --- a/cargo-generate.toml +++ b/cargo-generate.toml @@ -1,2 +1,2 @@ [placeholders] -crate_name = { prompt = "Enter crate name", default = "my_crate", type = "string" } \ No newline at end of file +manage_on_github = { prompt = "Is repo managed on github", choices = ["Github", "Gitea"], default = "Github", type = "string" } \ No newline at end of file