Static GIT_VERSION

Source
pub static GIT_VERSION: Option<&str>
Expand description

If the crate was compiled from within a git-repository, GIT_VERSION contains HEAD’s tag. The short commit id is used if HEAD is not tagged.