[−][src]Macro git_rev::try_revision_string
try_revision_string!() { /* proc-macro */ }
Expands to an Option<&'static str>
containing the current HEAD commit hash as a string,
or None if the commit hash could not be determined
Examples
const REVISION: Option<&'static str> = git_rev::try_revision_string!();