vergen 10.0.1
Patch release adding a new error-fallback knob, a builder-access API addition, dependency updates, and a security-audit refresh.
New features
VERGEN_DEFAULT_ON_ERRORfallback (#509) — When building outside a git worktree (or any time an instruction cannot be generated), the newVERGEN_DEFAULT_ON_ERRORenv var andEmitter::default_on_error()builder method populate missing instructions with the idempotent default (VERGEN_IDEMPOTENT_OUTPUT) soenv!("VERGEN_GIT_SHA")keeps compiling — while builds inside a real worktree still emit real values.all()builder accessor (#513) — ExposesBuild::all(),Cargo::all(),Rustc::all(), andSysinfo::all()as public methods that return the builder with all instructions enabled, enabling subtractive modification (turn all on, then selectively disable).
Dependency updates
bon3.9.1 → 3.9.3gix0.84.0 → 0.85.0regex1.12.3 → 1.12.4time0.3.47 → 0.3.51sysinfo0.39.3 → 0.39.5memmap20.9.10 → 0.9.11 (resolves RUSTSEC-2026-0186)
Security audit refresh
- Added
RUSTSEC-2026-0173ignore (proc-macro-error2unmaintained, informational only) - Removed
RUSTSEC-2025-0055ignore (tracing-subscribernow resolved to ≥ 0.3.20) - Removed
RUSTSEC-2025-0141ignore (bincodeno longer in the dependency tree) cargo auditpasses clean
Other
- Fixed inaccurate
fail_on_errorandidempotentdocs (#509) - Added
cargo:rerun-if-changed=VERGEN_DEFAULT_ON_ERRORrerun directive - Bumped
cargo-binstallin CI (#503) - Parse deprecation fixes (#505)
Full Changelog: v10.0.0...10.0.1