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 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 = Command::new("cmd")
            .version(crate_version!())
            .get_matches();