Macro git_version::git_version
source ยท macro_rules! git_version { ($($proc_macro:tt)*) => { ... }; }
Expand description
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!();