[][src]Crate git_rev

Macros

revision_string

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

revision_u64

Expands to the first 16 digits of the git HEAD revision code as a u64, or panics (causing a compile failure) if the commit hash could not be determined

try_revision_string

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

try_revision_u64

Expands to an Option containing the first 16 digits of the git HEAD revision code, or None if the revision could not be determined