Crate build_rs_git_info

Crate build_rs_git_info 

Source
Expand description

Build-script helper that emits BUILD_GIT_SHA and BUILD_GIT_BRANCH cargo environment variables by invoking the git CLI.

Functionsยง

emit_git_info
Emit git information as cargo:rustc-env variables so they are available via env!() / option_env!() in the consuming crate.