Module features

Module features 

Source
Available on crate features build or cargo or git or rustc or si only.
Expand description

The names used by crate::VergenKey for each enabled output

Constantsยง

BUILD_DATE_NAMEbuild
The date of the current build
BUILD_TIMESTAMP_NAMEbuild
The timestamp of the current build
CARGO_DEBUGcargo
The value of the DEBUG environment variable at build time
CARGO_DEPENDENCIEScargo
The current dependency list (potentiall filtered)
CARGO_FEATUREScargo
The value of the CARGO_FEATURES environment variable at build time
CARGO_OPT_LEVELcargo
The value of the OPT_LEVEL environment variable at build time
CARGO_TARGET_TRIPLEcargo
The value of the TARGET_TRIPLE environment variable at build time
GIT_BRANCH_NAMEgit
The current branch name
GIT_COMMIT_AUTHOR_EMAILgit
The most recent commit author email address
GIT_COMMIT_AUTHOR_NAMEgit
The most recent commit author name
GIT_COMMIT_COUNTgit
The commit count
GIT_COMMIT_DATE_NAMEgit
The most recent commit date
GIT_COMMIT_MESSAGEgit
The most recent commit message
GIT_COMMIT_TIMESTAMP_NAMEgit
The most recent commit timestamp
GIT_DESCRIBE_NAMEgit
The output of git describe
GIT_DIRTY_NAMEgit
The current dirty status
GIT_SHA_NAMEgit
The most recent commit SHA
RUSTC_CHANNEL_NAMErustc
The channel of rustc used for the build (stable, beta, nightly)
RUSTC_COMMIT_DATErustc
The commit date of rustc used for the build
RUSTC_COMMIT_HASHrustc
The commit hash of rustc used for the build
RUSTC_HOST_TRIPLE_NAMErustc
The host triple of rustc used for the build
RUSTC_LLVM_VERSIONrustc
The LLVM version underlying rustc used for the build (if applicable)
RUSTC_SEMVER_NAMErustc
The version of rustc used for the build
SYSINFO_CPU_BRANDsi
The CPU brand on the system use to run the build
SYSINFO_CPU_CORE_COUNTsi
The CPU core count on the system use to run the build
SYSINFO_CPU_FREQUENCYsi
The CPU frequency on the system use to run the build
SYSINFO_CPU_NAMEsi
The CPU name on the system use to run the build
SYSINFO_CPU_VENDORsi
The CPU vender on the system used to run the build
SYSINFO_MEMORYsi
The total memory on the system used to run the build
SYSINFO_NAMEsi
The system name
SYSINFO_OS_VERSIONsi
The OS version
SYSINFO_USERsi
The user that ran the build