From b9127dd6f88d3c66181ef6748167efd94283ff41 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 28 May 2021 13:58:47 +0200 Subject: Prepare for v0.3.0 and add migration path from v0.2.1.x --- src/garage/Cargo.toml | 14 +++++++------- src/garage/cli.rs | 8 ++------ 2 files changed, 9 insertions(+), 13 deletions(-) (limited to 'src/garage') diff --git a/src/garage/Cargo.toml b/src/garage/Cargo.toml index b6fc139b..09ed3e1e 100644 --- a/src/garage/Cargo.toml +++ b/src/garage/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "garage" -version = "0.2.1" +version = "0.3.0" authors = ["Alex Auvolat "] edition = "2018" license = "AGPL-3.0" @@ -14,12 +14,12 @@ path = "main.rs" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -garage_api = { version = "0.2.1", path = "../api" } -garage_model = { version = "0.2.1", path = "../model" } -garage_rpc = { version = "0.2.1", path = "../rpc" } -garage_table = { version = "0.2.1", path = "../table" } -garage_util = { version = "0.2.1", path = "../util" } -garage_web = { version = "0.2.1", path = "../web" } +garage_api = { version = "0.3.0", path = "../api" } +garage_model = { version = "0.3.0", path = "../model" } +garage_rpc = { version = "0.3.0", path = "../rpc" } +garage_table = { version = "0.3.0", path = "../table" } +garage_util = { version = "0.3.0", path = "../util" } +garage_web = { version = "0.3.0", path = "../web" } bytes = "1.0" git-version = "0.3.4" diff --git a/src/garage/cli.rs b/src/garage/cli.rs index 30d5726e..0ddb5a1c 100644 --- a/src/garage/cli.rs +++ b/src/garage/cli.rs @@ -467,9 +467,7 @@ pub async fn cmd_configure( "Please specify a capacity with the -c flag, or set node explicitly as gateway with -g".into())), }; NetworkConfigEntry { - zone: args - .zone - .expect("Please specifiy a zone with the -z flag"), + zone: args.zone.expect("Please specifiy a zone with the -z flag"), capacity, tag: args.tag.unwrap_or_default(), } @@ -481,9 +479,7 @@ pub async fn cmd_configure( _ => old.capacity, }; NetworkConfigEntry { - zone: args - .zone - .unwrap_or_else(|| old.zone.to_string()), + zone: args.zone.unwrap_or_else(|| old.zone.to_string()), capacity, tag: args.tag.unwrap_or_else(|| old.tag.to_string()), } -- cgit v1.2.3