diff --git a/Cargo.toml b/Cargo.toml index f9800e7..ad68a23 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,8 @@ [package] name = "zap" -version = "0.1.0" +version = "0.8.0-alpha" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] clap = "3.0" indicatif = "0.17.7" diff --git a/src/main.rs b/src/main.rs index 7601ae3..914e996 100644 --- a/src/main.rs +++ b/src/main.rs @@ -90,7 +90,7 @@ fn validate_paths(source: &str, destination: &str) -> Result<(), String> { fn main() { let matches = App::new("Zap") - .version("v0.8.0-alpha") + .version(env!("CARGO_PKG_VERSION")) .author("Allan Clark. ") .about("Transfers a file in parallel streams over SSH") .arg_required_else_help(true)