From cb1d8ef8fbeb940ed26c381f717b7219d71c2c7b Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Mon, 18 Nov 2024 15:02:43 +0100 Subject: [PATCH] feat: release new version 0.6.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/main.rs | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4bac4f0..27dbbc6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1488,7 +1488,7 @@ dependencies = [ [[package]] name = "mostr" -version = "0.5.0" +version = "0.6.0" dependencies = [ "chrono", "chrono-english", diff --git a/Cargo.toml b/Cargo.toml index 31db455..c690dcc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ repository = "https://forge.ftt.gmbh/janek/mostr" readme = "README.md" license = "GPL 3.0" authors = ["melonion"] -version = "0.5.0" +version = "0.6.0" rust-version = "1.82" edition = "2021" default-run = "mostr" diff --git a/src/main.rs b/src/main.rs index 583c39b..e903af4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -82,6 +82,8 @@ fn read_keys(readline: &mut DefaultEditor) -> Result { #[tokio::main] async fn main() -> Result<()> { + println!("Running Mostr Version {}", env!("CARGO_PKG_VERSION")); + let mut args = args().skip(1).peekable(); let mut builder = if args.peek().is_some_and(|arg| arg == "--debug") { args.next();