aboutsummaryrefslogtreecommitdiff
path: root/src/garage/main.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-09-07 18:36:46 +0200
committerAlex Auvolat <alex@adnab.me>2022-09-07 18:36:46 +0200
commitceb1f0229a9c8b9f8255b4a4c70272627f0c34d7 (patch)
treecf55d93dc4d95bc3eacb756f853ffe63e2dafc44 /src/garage/main.rs
parentf310fce34b0273f9f75e7a6ea665f51003a1f795 (diff)
downloadgarage-ceb1f0229a9c8b9f8255b4a4c70272627f0c34d7.tar.gz
garage-ceb1f0229a9c8b9f8255b4a4c70272627f0c34d7.zip
Move version back into utilimprove-deps
Diffstat (limited to 'src/garage/main.rs')
-rw-r--r--src/garage/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/garage/main.rs b/src/garage/main.rs
index 1a4a939a..77d5db24 100644
--- a/src/garage/main.rs
+++ b/src/garage/main.rs
@@ -99,14 +99,14 @@ async fn main() {
"system-libs",
][..];
if let Some(git_version) = option_env!("GIT_VERSION") {
- garage_model::version::init_version(git_version);
+ garage_util::version::init_version(git_version);
}
- garage_model::version::init_features(features);
+ garage_util::version::init_features(features);
// Parse arguments
let version = format!(
"{} [features: {}]",
- garage_model::version::garage_version(),
+ garage_util::version::garage_version(),
features.join(", ")
);
let opt = Opt::from_clap(&Opt::clap().version(version.as_str()).get_matches());