Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
crate_version in clap - Rust
[go: Go Back, main page]

Macro clap::crate_version

source ·
macro_rules! crate_version {
    () => { ... };
}
Expand description

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();