diff options
author | Alex Auvolat <alex@adnab.me> | 2023-05-17 13:01:37 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-05-17 13:01:37 +0200 |
commit | a1cec2cd60d64208caa2cbd11d8e6f885e80f630 (patch) | |
tree | d4e73ac7a8b1e90a998cf2795e20f95a0be9b871 /src/k2v-client | |
parent | b66f247580dcfb733718949c35240500903a0802 (diff) | |
download | garage-a1cec2cd60d64208caa2cbd11d8e6f885e80f630.tar.gz garage-a1cec2cd60d64208caa2cbd11d8e6f885e80f630.zip |
Split format_table into separate crate and reduce k2v-client dependenciesformat_table-v0.1.0
Diffstat (limited to 'src/k2v-client')
-rw-r--r-- | src/k2v-client/Cargo.toml | 5 | ||||
-rw-r--r-- | src/k2v-client/bin/k2v-cli.rs | 2 |
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; |