aboutsummaryrefslogtreecommitdiff
path: root/src/util/version.rs
blob: 8882d03585a1e977c483ea29425439bc6d787649 (plain) (blame)
1
2
3
4
5
6
7
pub fn garage() -> &'static str {
	option_env!("GIT_VERSION").unwrap_or(git_version::git_version!(
		prefix = "git:",
		cargo_prefix = "cargo:",
		fallback = "unknown"
	))
}