PackageTrack
Sign in Get early access

vergen

Generate 'cargo:rustc-env' instructions via 'build.rs' for use in your code via the 'env!' macro

10.0.2 49M downloads/mo #1233 most downloaded on crates.io rustyhorde/vergen

What this package is like to depend on

Last release 20 days ago

03 Aug 2026

Ships fairly regularly

a new release about every 6 weeks

Rarely documented

notes for 2 of 102 stable releases

8 versions withdrawn

withdrawn after publishing

12 years old

131 releases · first in 2015

10 releases in the last 12 months

see the full history below

Release timeline

131 releases · Feb 2015 to Aug 2026
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 60 of 131
  1. 10.0.2 03 Aug 2026

    Nothing published for this version

  2. 10.0.1 25 Jun 2026
    Release notes

    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

    Open source →
  3. 10.0.0 08 Jun 2026
    Release notes

    vergen 10.0.0

    Major release of the vergen suite (vergen, vergen-lib, vergen-git2, vergen-gitcl, vergen-gix, vergen-pretty).

    Highlights

    • MSRV raised to 1.95.0 (#496, prior bumps via #487, #440).
    • Raw Unix-seconds timestamps — emit build timestamps as raw Unix seconds (#444).
    • SOURCE_DATE_EPOCH decoupling plus a .cargo_vcs_info.json fallback for reproducible builds when building from a published crate without a git repo (#452, #448).
    • Remote URL support for git functionality (#459).
    • GIT_DIRTY instruction documented and dirty-output fixes for vergen-gix (#465, #423).

    Internal / maintenance

    • Replaced getset with hand-written getters in vergen-lib (#491).
    • Removed bincode from vergen-pretty (#481).
    • Added a cargo-semver-checks CI job (#478).
    • Numerous dependency updates, including gix bumps to address RUSTSEC advisories (#473, #488, #490).
    • CI: skip coverage jobs for forked PRs (#492), pinning + parallelization (#496).
    • Lint and doc fixes across the workspace.

    Full Changelog: vergen_9.0.6...v10.0.0

    Open source →
  4. 10.0.0-beta.8 28 Apr 2026 pre-release

    Nothing published for this version

  5. 10.0.0-beta.7 24 Apr 2026 pre-release

    Nothing published for this version

  6. 10.0.0-beta.6 28 Mar 2026 pre-release

    Nothing published for this version

  7. 10.0.0-beta.5 07 Jan 2026 pre-release

    Nothing published for this version

  8. 10.0.0-beta.3 11 Oct 2025 pre-release

    Nothing published for this version

  9. 10.0.0-beta.2 28 Sep 2025 pre-release

    Nothing published for this version

  10. 10.0.0-beta.1 14 Aug 2025 pre-release

    Nothing published for this version

  11. 9.1.0 16 Jan 2026

    Nothing published for this version

  12. 9.0.6 09 Apr 2025

    Nothing published for this version

  13. 9.0.4 11 Jan 2025

    Nothing published for this version

  14. 9.0.3 08 Jan 2025

    Nothing published for this version

  15. 9.0.2 26 Nov 2024

    Nothing published for this version

  16. 9.0.1 17 Sep 2024

    Nothing published for this version

  17. 9.0.0 09 Jul 2024

    Nothing published for this version

  18. 9.0.0-beta.2 03 Feb 2024 pre-release

    Nothing published for this version

  19. 9.0.0-beta.1 30 Jan 2024 pre-release

    Nothing published for this version

  20. 9.0.0-beta.0 30 Jan 2024 pre-release

    Nothing published for this version

  21. 8.3.2 09 Jul 2024

    Nothing published for this version

  22. 8.3.1 17 Jan 2024

    Nothing published for this version

  23. 8.3.0 16 Jan 2024

    Nothing published for this version

  24. 8.2.10 15 Jan 2024

    Nothing published for this version

  25. 8.2.9 15 Jan 2024

    Nothing published for this version

  26. 8.2.8 13 Jan 2024

    Nothing published for this version

  27. 8.2.7 12 Jan 2024

    Nothing published for this version

  28. 8.2.6 05 Nov 2023

    Nothing published for this version

  29. 8.2.5 12 Sep 2023

    Nothing published for this version

  30. 8.2.4 05 Jul 2023

    Nothing published for this version

  31. 8.2.3 01 Jul 2023 withdrawn

    Nothing published for this version

  32. 8.2.1 24 May 2023

    Nothing published for this version

  33. 8.2.0 20 May 2023

    Nothing published for this version

  34. 8.1.3 27 Apr 2023

    Nothing published for this version

  35. 8.1.2 25 Apr 2023

    Nothing published for this version

  36. 8.1.1 01 Apr 2023

    Nothing published for this version

  37. 8.1.0 28 Mar 2023

    Nothing published for this version

  38. 8.0.0 24 Mar 2023

    Nothing published for this version

  39. 8.0.0-beta.11 13 Mar 2023 pre-release

    Nothing published for this version

  40. 8.0.0-beta.10 13 Mar 2023 pre-release withdrawn

    Nothing published for this version

  41. 8.0.0-beta.9 09 Mar 2023 pre-release

    Nothing published for this version

  42. 8.0.0-beta.8 06 Mar 2023 pre-release

    Nothing published for this version

  43. 8.0.0-beta.7 20 Feb 2023 pre-release

    Nothing published for this version

  44. 8.0.0-beta.6 20 Feb 2023 pre-release

    Nothing published for this version

  45. 8.0.0-beta.5 17 Feb 2023 pre-release

    Nothing published for this version

  46. 8.0.0-beta.4 09 Feb 2023 pre-release

    Nothing published for this version

  47. 8.0.0-beta.3 16 Jan 2023 pre-release

    Nothing published for this version

  48. 8.0.0-beta.2 10 Jan 2023 pre-release

    Nothing published for this version

  49. 8.0.0-beta.1 08 Jan 2023 pre-release

    Nothing published for this version

  50. 8.0.0-beta.0 04 Jan 2023 pre-release

    Nothing published for this version

  51. 7.5.1 08 Feb 2023

    Nothing published for this version

  52. 7.5.0 05 Jan 2023

    Nothing published for this version

  53. 7.4.4 22 Dec 2022

    Nothing published for this version

  54. 7.4.3 29 Nov 2022

    Nothing published for this version

  55. 7.4.2 31 Aug 2022

    Nothing published for this version

  56. 7.4.1 30 Aug 2022

    Nothing published for this version

  57. 7.4.0 16 Aug 2022

    Nothing published for this version

  58. 7.3.2 29 Jul 2022

    Nothing published for this version

  59. 7.3.1 22 Jul 2022

    Nothing published for this version

  60. 7.2.1 07 Jun 2022

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive