diff --git a/Cargo.lock b/Cargo.lock index 3332b17..35229fe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -417,7 +417,7 @@ checksum = "648001efe5d5c0102d8cea768e348da85d90af8ba91f0bea908f157951493cd4" [[package]] name = "oscd" -version = "0.1.5" +version = "0.1.6" dependencies = [ "clap", "colored", diff --git a/Cargo.toml b/Cargo.toml index a9b3f49..fe87cc8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oscd" -version = "0.1.5" +version = "0.1.6" edition = "2021" authors = ["karnpapon "] license = "MIT" diff --git a/src/main.rs b/src/main.rs index ecb0e77..2a3fe5f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -14,9 +14,9 @@ pub const DEFAULT_PORT: u16 = 57110; fn main() { let _app = clap_app!(oscd => - (version: "0.1.5") - (author: "Karnpapon Boonput ") - (about: "a simple interactive OSC debugger") + (version: env!("CARGO_PKG_VERSION")) + (author: env!("CARGO_PKG_AUTHORS")) + (about: env!("CARGO_PKG_DESCRIPTION")) ) .get_matches();