diff --git a/Cargo.toml b/Cargo.toml index f9db334..6925253 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rust-pkg-gen" -version = "0.3.0" +version = "1.0.0" edition = "2021" license = "MIT OR Apache-2.0" repository = "https://github.com/AverseABFun/rust-pkg-gen" diff --git a/src/main.rs b/src/main.rs index daea318..43d148c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -122,6 +122,10 @@ fn main() { env_logger::init(); } + if !args.quiet { + println!("rust-pkg-gen v{}", env!("CARGO_PKG_VERSION")) + } + let path = &PathBuf::from(args.path); let chars: &[u8; 6] = &[