Cargo Features

vergen-lib has no features set by default.

[dependencies]
vergen-lib = { version = "0.1.4", features = ["build", "cargo", "emit_and_set", "git", "rustc", "unstable", "si"] }
build

Affects constants::features.BUILD_TIMESTAMP_NAME, constants::features.BUILD_DATE_NAME, constants::features

cargo

Affects constants::features.CARGO_DEBUG, constants::features.CARGO_DEPENDENCIES, constants::features.CARGO_FEATURES, constants::features.CARGO_OPT_LEVEL, constants::features.CARGO_TARGET_TRIPLE, constants::features

emit_and_set
git

Affects constants::features.GIT_BRANCH_NAME, constants::features.GIT_COMMIT_AUTHOR_EMAIL, constants::features.GIT_COMMIT_AUTHOR_NAME, constants::features.GIT_COMMIT_COUNT, constants::features.GIT_COMMIT_MESSAGE, constants::features.GIT_COMMIT_DATE_NAME, constants::features.GIT_COMMIT_TIMESTAMP_NAME, constants::features.GIT_DESCRIBE_NAME, constants::features.GIT_SHA_NAME, constants::features.GIT_DIRTY_NAME, constants::features

rustc

Affects constants::features.RUSTC_CHANNEL_NAME, constants::features.RUSTC_HOST_TRIPLE_NAME, constants::features.RUSTC_SEMVER_NAME, constants::features.RUSTC_COMMIT_HASH, constants::features.RUSTC_COMMIT_DATE, constants::features.RUSTC_LLVM_VERSION, constants::features

unstable
si

Affects constants::features.SYSINFO_NAME, constants::features.SYSINFO_OS_VERSION, constants::features.SYSINFO_USER, constants::features.SYSINFO_MEMORY, constants::features.SYSINFO_CPU_VENDOR, constants::features.SYSINFO_CPU_CORE_COUNT, constants::features.SYSINFO_CPU_NAME, constants::features.SYSINFO_CPU_BRAND, constants::features.SYSINFO_CPU_FREQUENCY, constants::features