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,
}Expand description
The keys used in the crate::CargoRustcEnvMap
Variants§
BuildDate
The build date. (VERGEN_BUILD_DATE)
BuildTimestamp
The build timestamp. (VERGEN_BUILD_TIMESTAMP)
CargoDebug
The cargo debug flag (VERGEN_CARGO_DEBUG)
CargoFeatures
The cargo features (VERGEN_CARGO_FEATURES)
CargoOptLevel
The cargo opt level (VERGEN_CARGO_OPT_LEVEL)
CargoTargetTriple
The cargo target triple (VERGEN_CARGO_TARGET_TRIPLE)
CargoDependencies
The cargo dependencies (VERGEN_CARGO_DEPENDENCIES)
GitBranch
The current working branch name (VERGEN_GIT_BRANCH)
GitCommitAuthorEmail
The commit author’s email. (VERGEN_GIT_COMMIT_AUTHOR_EMAIL)
GitCommitAuthorName
The commit author’s name. (VERGEN_GIT_COMMIT_AUTHOR_NAME)
GitCommitCount
Number of commits in current branch. (VERGEN_GIT_COMMIT_COUNT)
GitCommitDate
The commit date. (VERGEN_GIT_COMMIT_DATE)
GitCommitMessage
Commit message (VERGEN_GIT_COMMIT_MESSAGE)
GitCommitTimestamp
The commit timestamp. (VERGEN_GIT_COMMIT_TIMESTAMP)
GitDescribe
The semver version from the last git tag. (VERGEN_GIT_SEMVER)
GitSha
The latest commit SHA. (VERGEN_GIT_SHA)
GitDirty
Whether the repository is dirty. (VERGEN_GIT_DIRTY)
RustcChannel
The release channel of the rust compiler. (VERGEN_RUSTC_CHANNEL)
RustcCommitDate
The rustc commit date. (VERGEN_RUSTC_COMMIT_DATE)
RustcCommitHash
The rustc commit hash. (VERGEN_RUSTC_COMMIT_HASH)
RustcHostTriple
The host triple. (VERGEN_HOST_TRIPLE)
RustcLlvmVersion
The rustc LLVM version. (VERGEN_RUSTC_LLVM_VERSION)
RustcSemver
The version information of the rust compiler. (VERGEN_RUSTC_SEMVER)
SysinfoName
The sysinfo system name (VERGEN_SYSINFO_NAME)
SysinfoOsVersion
The sysinfo os version (VERGEN_SYSINFO_OS_VERSION)
SysinfoUser
The sysinfo user name (VERGEN_SYSINFO_USER)
SysinfoMemory
The sysinfo total memory (VERGEN_SYSINFO_TOTAL_MEMORY)
SysinfoCpuVendor
The sysinfo cpu vendor (VERGEN_SYSINFO_CPU_VENDOR)
SysinfoCpuCoreCount
The sysinfo cpu core count (VERGEN_SYSINFO_CPU_CORE_COUNT)
SysinfoCpuName
The sysinfo cpu core count (VERGEN_SYSINFO_CPU_NAME)
SysinfoCpuBrand
The sysinfo cpu core count (VERGEN_SYSINFO_CPU_BRAND)
SysinfoCpuFrequency
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 more