From 69cf5573860b4ed231d674b0c94436402c34ccb0 Mon Sep 17 00:00:00 2001 From: German Lashevich Date: Sun, 4 Mar 2018 00:43:06 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20wrong=20package=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/bin/totp.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c9502c4..373a23c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -373,7 +373,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "rustotpony" -version = "0.1.0" +version = "0.2.1" dependencies = [ "base32 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "clap 2.29.0 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 1551e2e..27a6603 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT" name = "rustotpony" readme = "README.md" repository = "https://github.com/zebradil/rustotpony" -version = "0.1.0" +version = "0.2.1" [dependencies] base32 = "0.3.1" diff --git a/src/bin/totp.rs b/src/bin/totp.rs index 53ef41b..8fb6297 100644 --- a/src/bin/totp.rs +++ b/src/bin/totp.rs @@ -78,7 +78,7 @@ impl Cli { fn get_cli_api_matches(&self) -> clap::ArgMatches<'static> { App::new("🐴 RusTOTPony") - .version("0.1.0") + .version(env!("CARGO_PKG_VERSION")) .author("German Lashevich ") .about("CLI manager of one-time password generators aka Google Authenticator") .subcommand(