Compile the git version (tag name, or hash otherwise) and dirty state into your program.
# Cargo.toml
[dependencies]
git-version = "0.3.9"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Prints the current git version at compile time.
Ensure the build environment has git and the project is in a git repo.
No dependency data recorded yet.