Macro revision_string

Source
revision_string!() { /* proc-macro */ }
Expand description

Expands to a string literal containing the current HEAD commit hash as a string, or panics (causing a compile failure) if the commit hash could not be determined

§Examples

const REVISION: &'static str = git_rev::revision_string!();