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(