aboutsummaryrefslogtreecommitdiff
path: root/src/k2v-client
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2023-05-17 12:33:45 +0000
committerAlex <alex@adnab.me>2023-05-17 12:33:45 +0000
commitc26a4308b4454e2f36e2824280b9f587a6918fa9 (patch)
tree3086149203b8cf9f0280c9b8e784eb893b0d7465 /src/k2v-client
parentb66f247580dcfb733718949c35240500903a0802 (diff)
parent217d4299379b70d1b081cb88e208ab5f2d1808a7 (diff)
downloadgarage-c26a4308b4454e2f36e2824280b9f587a6918fa9.tar.gz
garage-c26a4308b4454e2f36e2824280b9f587a6918fa9.zip
Merge pull request 'Split format_table into separate crate and reduce k2v-client dependencies' (#572) from split-format-table into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/572
Diffstat (limited to 'src/k2v-client')
-rw-r--r--src/k2v-client/Cargo.toml5
-rw-r--r--src/k2v-client/bin/k2v-cli.rs2
2 files changed, 3 insertions, 4 deletions
diff --git a/src/k2v-client/Cargo.toml b/src/k2v-client/Cargo.toml
index 293ad8b7..4212a00a 100644
--- a/src/k2v-client/Cargo.toml
+++ b/src/k2v-client/Cargo.toml
@@ -23,12 +23,11 @@ tokio = { version = "1.0", default-features = false, features = ["rt", "rt-multi
# cli deps
clap = { version = "4.1", optional = true, features = ["derive", "env"] }
-garage_util = { workspace = true, optional = true }
-garage_db = { workspace = true, optional = true }
+format_table = { workspace = true, optional = true }
[features]
-cli = ["clap", "tokio/fs", "tokio/io-std", "garage_util", "garage_db/sled"]
+cli = ["clap", "tokio/fs", "tokio/io-std", "format_table"]
[lib]
path = "lib.rs"
diff --git a/src/k2v-client/bin/k2v-cli.rs b/src/k2v-client/bin/k2v-cli.rs
index e771fe26..76388752 100644
--- a/src/k2v-client/bin/k2v-cli.rs
+++ b/src/k2v-client/bin/k2v-cli.rs
@@ -6,7 +6,7 @@ use base64::prelude::*;
use k2v_client::*;
-use garage_util::formater::format_table;
+use format_table::format_table;
use rusoto_core::credential::AwsCredentials;
use rusoto_core::Region;