Skip to content

vergen 10.0.1

Latest

Choose a tag to compare

@CraZySacX CraZySacX released this 27 Jun 15:10
· 11 commits to master since this release
10.0.1
23a6159

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_ERROR fallback (#509) — When building outside a git worktree (or any time an instruction cannot be generated), the new VERGEN_DEFAULT_ON_ERROR env var and Emitter::default_on_error() builder method populate missing instructions with the idempotent default (VERGEN_IDEMPOTENT_OUTPUT) so env!("VERGEN_GIT_SHA") keeps compiling — while builds inside a real worktree still emit real values.
  • all() builder accessor (#513) — Exposes Build::all(), Cargo::all(), Rustc::all(), and Sysinfo::all() as public methods that return the builder with all instructions enabled, enabling subtractive modification (turn all on, then selectively disable).

Dependency updates

  • bon 3.9.1 → 3.9.3
  • gix 0.84.0 → 0.85.0
  • regex 1.12.3 → 1.12.4
  • time 0.3.47 → 0.3.51
  • sysinfo 0.39.3 → 0.39.5
  • memmap2 0.9.10 → 0.9.11 (resolves RUSTSEC-2026-0186)

Security audit refresh

  • Added RUSTSEC-2026-0173 ignore (proc-macro-error2 unmaintained, informational only)
  • Removed RUSTSEC-2025-0055 ignore (tracing-subscriber now resolved to ≥ 0.3.20)
  • Removed RUSTSEC-2025-0141 ignore (bincode no longer in the dependency tree)
  • cargo audit passes clean

Other

  • Fixed inaccurate fail_on_error and idempotent docs (#509)
  • Added cargo:rerun-if-changed=VERGEN_DEFAULT_ON_ERROR rerun directive
  • Bumped cargo-binstall in CI (#503)
  • Parse deprecation fixes (#505)

Full Changelog: v10.0.0...10.0.1