From 435e2f662b9d85f514dfa7ba3b51e17bf107ee71 Mon Sep 17 00:00:00 2001 From: terry_u16 Date: Fri, 29 Nov 2024 02:34:55 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=90=E3=83=BC=E3=82=B8=E3=83=A7=E3=83=B30.?= =?UTF-8?q?1.1=E5=90=91=E3=81=91=E6=BA=96=E5=82=99=20(#5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/settings.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 41e12f2..b1daa16 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -385,7 +385,7 @@ checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" [[package]] name = "pahcer" -version = "0.1.0" +version = "0.1.1" dependencies = [ "anyhow", "chrono", diff --git a/Cargo.toml b/Cargo.toml index ac41769..5f55c6e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pahcer" -version = "0.1.0" +version = "0.1.1" edition = "2021" authors = ["terry_u16"] description = "A tool to run tests for AtCoder Heuristic Contest (AHC)" diff --git a/src/settings.rs b/src/settings.rs index c7a16c7..6788900 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -121,7 +121,7 @@ pub(crate) fn gen_setting_file(args: &InitArgs) -> Result<()> { "Failed to create the setting file. Ensure that ./pahcer_config.toml does not exist.", )?); - let version = "0.1.0".to_string(); + let version = env!("CARGO_PKG_VERSION").to_string(); let general = General::new(version); let lang: Box = match args.langage {