Macro clap::crate_version [−][src]
Allows you to pull the version from your Cargo.toml at compile time as
MAJOR.MINOR.PATCH_PKGVERSION_PRE
Examples
let m = App::new("app") .version(crate_version!()) .get_matches();
Allows you to pull the version from your Cargo.toml at compile time as
MAJOR.MINOR.PATCH_PKGVERSION_PRE
let m = App::new("app") .version(crate_version!()) .get_matches();