Cargo Features

vergen has no features set by default.

[dependencies]
vergen = { version = "9.0.0-beta.2", features = ["build", "cargo", "rustc", "si", "emit_and_set"] }
build = time

Enables build of vergen-lib

cargo = cargo_metadata, regex

Enables cargo of vergen-lib

rustc = rustc_version

Enables rustc of vergen-lib

si = sysinfo

Enables si of vergen-lib

unstable emit_and_set

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

cargo_metadata cargo?
regex cargo?
rustc_version rustc?
sysinfo si?
time build?