diff options
author | Alex Auvolat <alex@adnab.me> | 2022-09-07 11:59:56 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-09-07 11:59:56 +0200 |
commit | db61f41030678c5756c844c8aa41a210c658769e (patch) | |
tree | 492bff626d37cbcdfb2a65ee2580a1cc60c13125 /src/garage/main.rs | |
parent | 6f02c36a89d93b04944a3f0882b6f6b703d9c012 (diff) | |
download | garage-db61f41030678c5756c844c8aa41a210c658769e.tar.gz garage-db61f41030678c5756c844c8aa41a210c658769e.zip |
Move GIT_VERSION injection later in build chain to reduce build times
Diffstat (limited to 'src/garage/main.rs')
-rw-r--r-- | src/garage/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/garage/main.rs b/src/garage/main.rs index 8f0b377e..94c9bf61 100644 --- a/src/garage/main.rs +++ b/src/garage/main.rs @@ -23,15 +23,15 @@ use garage_util::error::*; use garage_rpc::system::*; use garage_rpc::*; -use garage_util::version; use garage_model::helper::error::Error as HelperError; +use garage_model::version::garage_version; use admin::*; use cli::*; #[derive(StructOpt, Debug)] -#[structopt(name = "garage", version = version::garage(), about = "S3-compatible object store for self-hosted geo-distributed deployments")] +#[structopt(name = "garage", version = garage_version(), about = "S3-compatible object store for self-hosted geo-distributed deployments")] struct Opt { /// Host to connect to for admin operations, in the format: /// <public-key>@<ip>:<port> |