aboutsummaryrefslogblamecommitdiff
path: root/src/model/version.rs
blob: cdb3ea6205bb3596d476a762f8c6fe2dae39a2ad (plain) (tree)
1
2
3
4
5
6
7
                                         





                                                                       
pub fn garage_version() -> &'static str {
	option_env!("GIT_VERSION").unwrap_or(git_version::git_version!(
		prefix = "git:",
		cargo_prefix = "cargo:",
		fallback = "unknown"
	))
}