NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io, #1369 most downloaded on crates.io
Generate 'cargo:rustc-env' instructions via 'build.rs' for use in your code via the 'env!' macro
Latest stable
10.0.3
Last release 2 months ago
24 Aug 2026
Release timing varies
gaps range from 8 days to 4 months
Most releases are documented
notes for 51 of the last 60 stable releases
8 versions withdrawn
withdrawn after publishing
12 years old
132 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
Added support for git commit message output
Added the ability to generate the git author and git email independently.
Added support for git commit count
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Migrated from chrono to time as it's better maintained.
chrono to time as it's better maintained.local_offset). There is a known issue that can cause a potential segfault in the time crate (which also affected chrono).Fixed issue where 1.57 couldn't be used to build because of incorrect lints setup in build.rs
build.rs* sysinfo dependency updated. * MSRV increased to 1.54 * Documentation
sysinfo dependency updated.The Copy impl was dropped from the Config struct to facilitate specifying a non-standard git base path.
Copy impl was dropped from the Config struct to facilitate specifying a non-standard git base path.Nothing published for this version
Nothing published for this version
Removed unstable lints from nightly/beta.
Tightened the chrono dependency so it doesn't pull in child dependencies with rustsec issues.
chrono dependency so it doesn't pull in child dependencies with rustsec issues.Pinned sysinfo to 0.19 to avoid 1.54 minimum supported version of Rust stable for now.
sysinfo to 0.19 to avoid 1.54 minimum supported version of Rust stable for now.Updated the lints matrix for development, no functional impact.
Turn off lints if using a stable version earlier than the MSRV (1.53 currently). Lints are only really needed during development so this should be saf
* Pinned sysinfo crate to 0.19.
sysinfo crate to 0.19.Fixed broken linux & windows builds. Also updated the lints to represent current state.
Fix breaking changes from sysinfo crate
sysinfo crateBug fix when rustc_version doesn't return a value for commit hash/commit date.
rustc_version doesn't return a value for commit hash/commit date.Bumped the git2 version back to latest as the lifetime issue has been patched.
git2 version back to latest as the lifetime issue has been patched.Pinned git2 to 0.13.17 while regression in rustc lifetime handling in fixed.
git2 to 0.13.17 while regression in rustc lifetime handling in fixed.Bug fix for rerun-if-changed output.
rerun-if-changed output.sysinfo by flagging no-default-featuresAdded support for a configurable -dirty flag on the VERGEN_GIT_SEMVER* output.
-dirty flag on the VERGEN_GIT_SEMVER* output.VERGEN_GIT_SHORT_SHA and VERGEN_GIT_SEMVER_LIGHTWEIGHT.Added ability to toggle features of programmatically
Updated rustc_version to 0.3.1 to ensure llvm_version is present.
rustc_version to 0.3.1 to ensure llvm_version is present.VERGEN_CARGO_FEATURES_* fixed to generate the proper feature name.
VERGEN_CARGO_FEATURES_* fixed to generate the proper feature name.Some docs updates and lint tweaks
Added support for sysinfo items
sysinfo items* cargo minimum version updates
Removed the deprecated gen in lieu of vergen
gen in lieu of vergenConstantsFlags in lieu of Configgen -> vergen. Deprecated gen entry point as a result of the ConstantsFlags deprecation.
gen -> vergen. Deprecated gen entry point as a result of the ConstantsFlags deprecation.ConstantsFlags -> Config. ContantsFlags was growing bloated and needed some extra logic, so migrated to a Config style.Added cargo feature to allow getting the target triple, profile, and current feature set at build time.
cargo feature to allow getting the target triple, profile, and current feature set at build time.Updated rustc_version dependency to be at least version 0.3.1 to avoid compilation issues with llvm_version which was added then.
rustc_version dependency to be at least version 0.3.1 to avoid compilation issues with llvm_version which was added then.Removed some transitive dependencies from the git2 crate (specifically openssl-sys) via the default-features = false flag to allow for running on more
git2 crate (specifically openssl-sys) via the default-features = false flag to allow for running on more diverse systems.Nothing published for this version
The main entry point for use has changed from generate_cargo_keys to gen
generate_cargo_keys to genbuild, git, and rustc).
build feature enables the VERGEN_BUILD_* instructions.git feature enables the VERGEN_GIT_* instructions, the cargo:rerun-if-changed instructions, and the REBUILD_ON_HEAD_CHANGE flag.rustc feature enables the VERGEN_RUSTC_* instructions.gen function a no-op.ConstantsFlags to toggle individual cargo instructions.cargo:rustc-env=VERGEN_BUILD_DATE=2021-02-12
cargo:rustc-env=VERGEN_BUILD_TIMESTAMP=2021-02-12T01:54:15.134750+00:00
cargo:rustc-env=VERGEN_GIT_BRANCH=feature/git2
cargo:rustc-env=VERGEN_GIT_COMMIT_DATE=2021-02-11T20:05:53-05:00
cargo:rustc-env=VERGEN_GIT_SEMVER=v3.2.0-86-g95fc0f5
cargo:rustc-env=VERGEN_GIT_SEMVER_LIGHTWEIGHT=blah-33-g95fc0f5
cargo:rustc-env=VERGEN_GIT_SHA=95fc0f5d066710f16e0c23ce3239d6e040abca0d
cargo:rustc-env=VERGEN_GIT_SHA_SHORT=95fc0f5
cargo:rustc-env=VERGEN_RUSTC_CHANNEL=nightly
cargo:rustc-env=VERGEN_RUSTC_COMMIT_DATE=2021-02-10
cargo:rustc-env=VERGEN_RUSTC_COMMIT_HASH=07194ffcd25b0871ce560b9f702e52db27ac9f77
cargo:rustc-env=VERGEN_RUSTC_HOST_TRIPLE=x86_64-apple-darwin
cargo:rustc-env=VERGEN_RUSTC_LLVM_VERSION=11.0
cargo:rustc-env=VERGEN_RUSTC_SEMVER=1.52.0-nightly
cargo:rerun-if-changed=/Users/yoda/projects/rust-lang/vergen/.git/HEAD
cargo:rerun-if-changed=/Users/yoda/projects/rust-lang/vergen/.git/refs/heads/feature/git2
Commands used for git have been removed in lieu of using the git2 library directly.git2 is also used to determine the HEAD path and the path that it refers to for the cargo:rerun-if-changed instructions. This is more reliable then the manual method that was in place before.Merged in pull request adding support for some rustc related flags.
rustc related flags.Nothing published for this version
Nothing published for this version
When the repository is in a detached HEAD state, skip outputting the reference change cargo key, rather than erroring the build script.
When the repository is in a detached HEAD state, skip outputting the reference change cargo key, rather than erroring the build script.
Added support for git worktree directories
Added support for git worktree directories
Nothing published for this version
Nothing published for this version
Nothing published for this version
When the repository is in a detached HEAD state, skip outputting the reference change cargo key, rather than erroring the build script.
When the repository is in a detached HEAD state, skip outputting the reference change cargo key, rather than erroring the build script.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Added ability to filter out certain output even if you have it set.
serde featureserde serialization when prefix/suffix are not used.Initial release of the vergen-pretty crate. Allows pretty printing of the vergen environment variables.
vergen-pretty crate. Allows pretty printing of the vergen environment variables.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.