Modules§
- constants
- Internal Constants
Structs§
- Default
Config - The default configuration to use when an issue has occured generating instructions
- Emitter
- The
Emitter
will emit cargo instructions (i.e. cargo:rustc-env=NAME=VALUE) base on the configuration you enable.
Enums§
- Vergen
Key build
orcargo
orgit
orrustc
orsi
- The keys used in the
crate::CargoRustcEnvMap
Traits§
- AddCustom
Entries - This trait should be implemented to allow the
vergen
emitter to properly emit your custom instructions. - AddEntries
- This trait should be implemented to allow the
vergen
emitter to properly emit instructions for your feature.
Functions§
- add_
default_ map_ entry - Add a
VergenKey
entry as a default string into theCargoRustcEnvMap
. The value is either from an environment variable override orcrate::constants::VERGEN_IDEMPOTENT_DEFAULT
- add_
map_ entry - Add a
VergenKey
entry as a string into theCargoRustcEnvMap
. - count_
idempotent - Count the number of idempotent entries in a
CargoRustcEnvMap
Type Aliases§
- Cargo
Rerun IfChanged - The vector of strings used to emit
cargo:rerun-if-changed=VALUE
cargo instructions - Cargo
Rustc EnvMap - The map used to emit
cargo:rustc-env=NAME=VALUE
cargo instructions - Cargo
Warning - The vector of strings used to emit
cargo:warning=VALUE
cargo instructions