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 pull the version for an from your Cargo.toml as MAJOR.MINOR.PATCH_PKGVERSION_PRE

§Example

	let m = App::new("app")
				.version(crate_version!())
				.get_matches();