crate_git_revision

Function init

Source
pub fn init()
Expand description

Initialize the GIT_REVISION environment variable with the git revision of the current crate.

Intended to be called from within a build script, build.rs file, for the crate.