Cargo Features

vergen has no features set by default.

[dependencies]
vergen = { version = "9.0.1", features = ["build", "cargo", "rustc", "si", "unstable", "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

Enables unstable of vergen-lib

emit_and_set

Enables emit_and_set of vergen-lib

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?

Enables sysinfo ^0.31.4

time build?