[][src]Macro git_version::git_version

macro_rules! git_version {
    #[proc_macro_hack] => { ... };
}

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!();