[−][src]Macro git_version::git_version
Get the git version for the source code.
The version string will be created by calling git describe --always --dirty=-modified
.
Use git_describe
if you want to pass different flags to git describe
.
For example:
const VERSION : &str = git_version!();