Enum vergen_lib::VergenKey
source · pub enum VergenKey {
Show 32 variants
BuildDate,
BuildTimestamp,
CargoDebug,
CargoFeatures,
CargoOptLevel,
CargoTargetTriple,
CargoDependencies,
GitBranch,
GitCommitAuthorEmail,
GitCommitAuthorName,
GitCommitCount,
GitCommitDate,
GitCommitMessage,
GitCommitTimestamp,
GitDescribe,
GitSha,
GitDirty,
RustcChannel,
RustcCommitDate,
RustcCommitHash,
RustcHostTriple,
RustcLlvmVersion,
RustcSemver,
SysinfoName,
SysinfoOsVersion,
SysinfoUser,
SysinfoMemory,
SysinfoCpuVendor,
SysinfoCpuCoreCount,
SysinfoCpuName,
SysinfoCpuBrand,
SysinfoCpuFrequency,
}build or cargo or git or rustc or si only.Expand description
The keys used in the crate::CargoRustcEnvMap
Variants§
BuildDate
build only.The build date. (VERGEN_BUILD_DATE)
BuildTimestamp
build only.The build timestamp. (VERGEN_BUILD_TIMESTAMP)
CargoDebug
cargo only.The cargo debug flag (VERGEN_CARGO_DEBUG)
CargoFeatures
cargo only.The cargo features (VERGEN_CARGO_FEATURES)
CargoOptLevel
cargo only.The cargo opt level (VERGEN_CARGO_OPT_LEVEL)
CargoTargetTriple
cargo only.The cargo target triple (VERGEN_CARGO_TARGET_TRIPLE)
CargoDependencies
cargo only.The cargo dependencies (VERGEN_CARGO_DEPENDENCIES)
GitBranch
git only.The current working branch name (VERGEN_GIT_BRANCH)
GitCommitAuthorEmail
git only.The commit author’s email. (VERGEN_GIT_COMMIT_AUTHOR_EMAIL)
GitCommitAuthorName
git only.The commit author’s name. (VERGEN_GIT_COMMIT_AUTHOR_NAME)
GitCommitCount
git only.Number of commits in current branch. (VERGEN_GIT_COMMIT_COUNT)
GitCommitDate
git only.The commit date. (VERGEN_GIT_COMMIT_DATE)
GitCommitMessage
git only.Commit message (VERGEN_GIT_COMMIT_MESSAGE)
GitCommitTimestamp
git only.The commit timestamp. (VERGEN_GIT_COMMIT_TIMESTAMP)
GitDescribe
git only.The semver version from the last git tag. (VERGEN_GIT_SEMVER)
GitSha
git only.The latest commit SHA. (VERGEN_GIT_SHA)
GitDirty
git only.Whether the repository is dirty. (VERGEN_GIT_DIRTY)
RustcChannel
rustc only.The release channel of the rust compiler. (VERGEN_RUSTC_CHANNEL)
RustcCommitDate
rustc only.The rustc commit date. (VERGEN_RUSTC_COMMIT_DATE)
RustcCommitHash
rustc only.The rustc commit hash. (VERGEN_RUSTC_COMMIT_HASH)
RustcHostTriple
rustc only.The host triple. (VERGEN_HOST_TRIPLE)
RustcLlvmVersion
rustc only.The rustc LLVM version. (VERGEN_RUSTC_LLVM_VERSION)
RustcSemver
rustc only.The version information of the rust compiler. (VERGEN_RUSTC_SEMVER)
SysinfoName
si only.The sysinfo system name (VERGEN_SYSINFO_NAME)
SysinfoOsVersion
si only.The sysinfo os version (VERGEN_SYSINFO_OS_VERSION)
SysinfoUser
si only.The sysinfo user name (VERGEN_SYSINFO_USER)
SysinfoMemory
si only.The sysinfo total memory (VERGEN_SYSINFO_TOTAL_MEMORY)
SysinfoCpuVendor
si only.The sysinfo cpu vendor (VERGEN_SYSINFO_CPU_VENDOR)
SysinfoCpuCoreCount
si only.The sysinfo cpu core count (VERGEN_SYSINFO_CPU_CORE_COUNT)
SysinfoCpuName
si only.The sysinfo cpu core count (VERGEN_SYSINFO_CPU_NAME)
SysinfoCpuBrand
si only.The sysinfo cpu core count (VERGEN_SYSINFO_CPU_BRAND)
SysinfoCpuFrequency
si only.The sysinfo cpu core count (VERGEN_SYSINFO_CPU_FREQUENCY)
Implementations§
Trait Implementations§
source§impl Ord for VergenKey
impl Ord for VergenKey
source§impl PartialEq for VergenKey
impl PartialEq for VergenKey
source§impl PartialOrd for VergenKey
impl PartialOrd for VergenKey
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self and other) and is used by the <=
operator. Read moreimpl Copy for VergenKey
impl Eq for VergenKey
impl StructuralPartialEq for VergenKey
Auto Trait Implementations§
impl Freeze for VergenKey
impl RefUnwindSafe for VergenKey
impl Send for VergenKey
impl Sync for VergenKey
impl Unpin for VergenKey
impl UnwindSafe for VergenKey
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)