aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <lx@deuxfleurs.fr>2025-01-31 18:47:30 +0100
committerAlex Auvolat <lx@deuxfleurs.fr>2025-01-31 18:47:30 +0100
commit4563313f87af4b7be26152164a5ce09a451da0d9 (patch)
tree1203788ebe76e71678691f9ff04029bd287d2488
parentafa28706e5566737376f8448bcc548f780f0f57f (diff)
downloadgarage-4563313f87af4b7be26152164a5ce09a451da0d9.tar.gz
garage-4563313f87af4b7be26152164a5ce09a451da0d9.zip
use cargo-shear to remove many unused dependencies between crates
-rw-r--r--Cargo.lock227
-rw-r--r--Cargo.toml3
-rw-r--r--src/api/admin/Cargo.toml32
-rw-r--r--src/api/common/Cargo.toml27
-rw-r--r--src/api/k2v/Cargo.toml32
-rw-r--r--src/api/s3/Cargo.toml10
-rw-r--r--src/block/Cargo.toml2
-rw-r--r--src/db/Cargo.toml1
-rw-r--r--src/garage/Cargo.toml9
-rw-r--r--src/k2v-client/Cargo.toml3
-rw-r--r--src/model/Cargo.toml3
-rw-r--r--src/rpc/Cargo.toml4
-rw-r--r--src/table/Cargo.toml1
-rw-r--r--src/util/Cargo.toml2
-rw-r--r--src/web/Cargo.toml3
15 files changed, 3 insertions, 356 deletions
diff --git a/Cargo.lock b/Cargo.lock
index d1156d12..9bbdb5e3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -237,36 +237,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
[[package]]
-name = "aws-config"
-version = "1.1.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b30c39ebe61f75d1b3785362b1586b41991873c9ab3e317a9181c246fb71d82"
-dependencies = [
- "aws-credential-types",
- "aws-runtime",
- "aws-sdk-sso",
- "aws-sdk-ssooidc",
- "aws-sdk-sts",
- "aws-smithy-async",
- "aws-smithy-http",
- "aws-smithy-json",
- "aws-smithy-runtime",
- "aws-smithy-runtime-api",
- "aws-smithy-types",
- "aws-types",
- "bytes",
- "fastrand",
- "hex",
- "http 0.2.11",
- "hyper 0.14.28",
- "ring",
- "time",
- "tokio",
- "tracing",
- "zeroize",
-]
-
-[[package]]
name = "aws-credential-types"
version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -354,73 +324,6 @@ dependencies = [
]
[[package]]
-name = "aws-sdk-sso"
-version = "1.12.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f486420a66caad72635bc2ce0ff6581646e0d32df02aa39dc983bfe794955a5b"
-dependencies = [
- "aws-credential-types",
- "aws-runtime",
- "aws-smithy-async",
- "aws-smithy-http",
- "aws-smithy-json",
- "aws-smithy-runtime",
- "aws-smithy-runtime-api",
- "aws-smithy-types",
- "aws-types",
- "bytes",
- "http 0.2.11",
- "once_cell",
- "regex-lite",
- "tracing",
-]
-
-[[package]]
-name = "aws-sdk-ssooidc"
-version = "1.12.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "39ddccf01d82fce9b4a15c8ae8608211ee7db8ed13a70b514bbfe41df3d24841"
-dependencies = [
- "aws-credential-types",
- "aws-runtime",
- "aws-smithy-async",
- "aws-smithy-http",
- "aws-smithy-json",
- "aws-smithy-runtime",
- "aws-smithy-runtime-api",
- "aws-smithy-types",
- "aws-types",
- "bytes",
- "http 0.2.11",
- "once_cell",
- "regex-lite",
- "tracing",
-]
-
-[[package]]
-name = "aws-sdk-sts"
-version = "1.12.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1a591f8c7e6a621a501b2b5d2e88e1697fcb6274264523a6ad4d5959889a41ce"
-dependencies = [
- "aws-credential-types",
- "aws-runtime",
- "aws-smithy-async",
- "aws-smithy-http",
- "aws-smithy-json",
- "aws-smithy-query",
- "aws-smithy-runtime",
- "aws-smithy-runtime-api",
- "aws-smithy-types",
- "aws-smithy-xml",
- "aws-types",
- "http 0.2.11",
- "once_cell",
- "regex-lite",
- "tracing",
-]
-
-[[package]]
name = "aws-sigv4"
version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -523,16 +426,6 @@ dependencies = [
]
[[package]]
-name = "aws-smithy-query"
-version = "0.60.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bda4b1dfc9810e35fba8a620e900522cd1bd4f9578c446e82f49d1ce41d2e9f9"
-dependencies = [
- "aws-smithy-types",
- "urlencoding",
-]
-
-[[package]]
name = "aws-smithy-runtime"
version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -570,7 +463,6 @@ dependencies = [
"pin-project-lite",
"tokio",
"tracing",
- "zeroize",
]
[[package]]
@@ -1314,7 +1206,6 @@ version = "1.0.1"
dependencies = [
"assert-json-diff",
"async-trait",
- "aws-config",
"aws-sdk-s3",
"backtrace",
"base64 0.21.7",
@@ -1323,9 +1214,7 @@ dependencies = [
"chrono",
"format_table",
"futures",
- "futures-util",
"garage_api_admin",
- "garage_api_common",
"garage_api_k2v",
"garage_api_s3",
"garage_block",
@@ -1350,10 +1239,7 @@ dependencies = [
"opentelemetry-otlp",
"opentelemetry-prometheus",
"parse_duration",
- "prometheus",
- "rand",
"serde",
- "serde_bytes",
"serde_json",
"sha1",
"sha2",
@@ -1362,7 +1248,6 @@ dependencies = [
"syslog-tracing",
"timeago",
"tokio",
- "toml",
"tracing",
"tracing-subscriber",
]
@@ -1371,52 +1256,24 @@ dependencies = [
name = "garage_api_admin"
version = "1.0.1"
dependencies = [
- "aes-gcm",
"argon2",
- "async-compression",
"async-trait",
- "base64 0.21.7",
- "bytes",
- "chrono",
- "crc32c",
- "crc32fast",
- "crypto-common",
"err-derive",
- "form_urlencoded",
"futures",
- "futures-util",
"garage_api_common",
- "garage_block",
"garage_model",
- "garage_net",
"garage_rpc",
"garage_table",
"garage_util",
"hex",
- "hmac",
"http 1.0.0",
- "http-body-util",
- "http-range",
- "httpdate",
"hyper 1.1.0",
- "hyper-util",
- "idna",
- "md-5",
- "multer",
- "nom",
"opentelemetry",
"opentelemetry-prometheus",
- "percent-encoding",
- "pin-project",
"prometheus",
"serde",
- "serde_bytes",
"serde_json",
- "sha1",
- "sha2",
"tokio",
- "tokio-stream",
- "tokio-util 0.7.10",
"tracing",
"url",
]
@@ -1425,51 +1282,29 @@ dependencies = [
name = "garage_api_common"
version = "1.0.1"
dependencies = [
- "aes-gcm",
- "argon2",
- "async-compression",
"async-trait",
- "base64 0.21.7",
"bytes",
"chrono",
- "crc32c",
- "crc32fast",
"crypto-common",
"err-derive",
- "form_urlencoded",
"futures",
- "futures-util",
- "garage_block",
"garage_model",
- "garage_net",
- "garage_rpc",
"garage_table",
"garage_util",
"hex",
"hmac",
"http 1.0.0",
"http-body-util",
- "http-range",
- "httpdate",
"hyper 1.1.0",
"hyper-util",
"idna",
- "md-5",
- "multer",
"nom",
"opentelemetry",
- "opentelemetry-prometheus",
- "percent-encoding",
"pin-project",
- "prometheus",
"serde",
- "serde_bytes",
"serde_json",
- "sha1",
"sha2",
"tokio",
- "tokio-stream",
- "tokio-util 0.7.10",
"tracing",
"url",
]
@@ -1478,52 +1313,22 @@ dependencies = [
name = "garage_api_k2v"
version = "1.0.1"
dependencies = [
- "aes-gcm",
- "argon2",
- "async-compression",
"async-trait",
"base64 0.21.7",
- "bytes",
- "chrono",
- "crc32c",
- "crc32fast",
- "crypto-common",
"err-derive",
- "form_urlencoded",
"futures",
- "futures-util",
"garage_api_common",
- "garage_block",
"garage_model",
- "garage_net",
- "garage_rpc",
"garage_table",
"garage_util",
- "hex",
- "hmac",
"http 1.0.0",
"http-body-util",
- "http-range",
- "httpdate",
"hyper 1.1.0",
- "hyper-util",
- "idna",
- "md-5",
- "multer",
- "nom",
"opentelemetry",
- "opentelemetry-prometheus",
"percent-encoding",
- "pin-project",
- "prometheus",
"serde",
- "serde_bytes",
"serde_json",
- "sha1",
- "sha2",
"tokio",
- "tokio-stream",
- "tokio-util 0.7.10",
"tracing",
"url",
]
@@ -1533,7 +1338,6 @@ name = "garage_api_s3"
version = "1.0.1"
dependencies = [
"aes-gcm",
- "argon2",
"async-compression",
"async-trait",
"base64 0.21.7",
@@ -1541,11 +1345,9 @@ dependencies = [
"chrono",
"crc32c",
"crc32fast",
- "crypto-common",
"err-derive",
"form_urlencoded",
"futures",
- "futures-util",
"garage_api_common",
"garage_block",
"garage_model",
@@ -1554,26 +1356,19 @@ dependencies = [
"garage_table",
"garage_util",
"hex",
- "hmac",
"http 1.0.0",
"http-body-util",
"http-range",
"httpdate",
"hyper 1.1.0",
- "hyper-util",
- "idna",
"md-5",
"multer",
- "nom",
"opentelemetry",
- "opentelemetry-prometheus",
"percent-encoding",
"pin-project",
- "prometheus",
"quick-xml",
"roxmltree",
"serde",
- "serde_bytes",
"serde_json",
"sha1",
"sha2",
@@ -1594,7 +1389,6 @@ dependencies = [
"bytes",
"bytesize",
"futures",
- "futures-util",
"garage_db",
"garage_net",
"garage_rpc",
@@ -1604,7 +1398,6 @@ dependencies = [
"opentelemetry",
"rand",
"serde",
- "serde_bytes",
"tokio",
"tokio-util 0.7.10",
"tracing",
@@ -1617,7 +1410,6 @@ version = "1.0.1"
dependencies = [
"err-derive",
"heed",
- "hexdump",
"mktemp",
"r2d2",
"r2d2_sqlite",
@@ -1629,14 +1421,12 @@ dependencies = [
name = "garage_model"
version = "1.0.1"
dependencies = [
- "arc-swap",
"async-trait",
"base64 0.21.7",
"blake2",
"chrono",
"err-derive",
"futures",
- "futures-util",
"garage_block",
"garage_db",
"garage_net",
@@ -1645,7 +1435,6 @@ dependencies = [
"garage_util",
"hex",
"http 1.0.0",
- "opentelemetry",
"parse_duration",
"rand",
"serde",
@@ -1687,13 +1476,10 @@ version = "1.0.1"
dependencies = [
"arc-swap",
"async-trait",
- "bytes",
"bytesize",
"err-derive",
"format_table",
"futures",
- "futures-util",
- "garage_db",
"garage_net",
"garage_util",
"gethostname",
@@ -1713,7 +1499,6 @@ dependencies = [
"serde_bytes",
"serde_json",
"tokio",
- "tokio-stream",
"tracing",
]
@@ -1723,7 +1508,6 @@ version = "1.0.1"
dependencies = [
"arc-swap",
"async-trait",
- "bytes",
"futures",
"futures-util",
"garage_db",
@@ -1746,10 +1530,8 @@ dependencies = [
"arc-swap",
"async-trait",
"blake2",
- "bytes",
"bytesize",
"chrono",
- "digest",
"err-derive",
"futures",
"garage_db",
@@ -1778,7 +1560,6 @@ name = "garage_web"
version = "1.0.1"
dependencies = [
"err-derive",
- "futures",
"garage_api_common",
"garage_api_s3",
"garage_model",
@@ -1787,7 +1568,6 @@ dependencies = [
"http 1.0.0",
"http-body-util",
"hyper 1.1.0",
- "hyper-util",
"opentelemetry",
"percent-encoding",
"tokio",
@@ -2423,7 +2203,6 @@ dependencies = [
"sha2",
"thiserror",
"tokio",
- "tracing",
"tracing-subscriber",
]
@@ -4708,12 +4487,6 @@ dependencies = [
]
[[package]]
-name = "urlencoding"
-version = "2.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da"
-
-[[package]]
name = "utf8parse"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/Cargo.toml b/Cargo.toml
index ae149ae0..fa8f0be0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -52,7 +52,6 @@ chrono = "0.4"
crc32fast = "1.4"
crc32c = "0.6"
crypto-common = "0.1"
-digest = "0.10"
err-derive = "0.3"
gethostname = "0.4"
git-version = "0.3.4"
@@ -142,8 +141,6 @@ thiserror = "1.0"
assert-json-diff = "2.0"
rustc_version = "0.4.0"
static_init = "1.0"
-
-aws-config = "1.1.4"
aws-sdk-config = "1.13"
aws-sdk-s3 = "1.14"
diff --git a/src/api/admin/Cargo.toml b/src/api/admin/Cargo.toml
index c816a6a9..55767dcf 100644
--- a/src/api/admin/Cargo.toml
+++ b/src/api/admin/Cargo.toml
@@ -16,52 +16,22 @@ path = "lib.rs"
[dependencies]
garage_model.workspace = true
garage_table.workspace = true
-garage_block.workspace = true
-garage_net.workspace = true
garage_util.workspace = true
garage_rpc.workspace = true
garage_api_common.workspace = true
-
-aes-gcm.workspace = true
argon2.workspace = true
-async-compression.workspace = true
async-trait.workspace = true
-base64.workspace = true
-bytes.workspace = true
-chrono.workspace = true
-crc32fast.workspace = true
-crc32c.workspace = true
-crypto-common.workspace = true
err-derive.workspace = true
hex.workspace = true
-hmac.workspace = true
-idna.workspace = true
tracing.workspace = true
-md-5.workspace = true
-nom.workspace = true
-pin-project.workspace = true
-sha1.workspace = true
-sha2.workspace = true
futures.workspace = true
-futures-util.workspace = true
tokio.workspace = true
-tokio-stream.workspace = true
-tokio-util.workspace = true
-
-form_urlencoded.workspace = true
http.workspace = true
-httpdate.workspace = true
-http-range.workspace = true
-http-body-util.workspace = true
hyper = { workspace = true, default-features = false, features = ["server", "http1"] }
-hyper-util.workspace = true
-multer.workspace = true
-percent-encoding.workspace = true
url.workspace = true
serde.workspace = true
-serde_bytes.workspace = true
serde_json.workspace = true
opentelemetry.workspace = true
@@ -69,4 +39,4 @@ opentelemetry-prometheus = { workspace = true, optional = true }
prometheus = { workspace = true, optional = true }
[features]
-metrics = [ "opentelemetry-prometheus", "prometheus", "garage_api_common/metrics" ]
+metrics = [ "opentelemetry-prometheus", "prometheus" ]
diff --git a/src/api/common/Cargo.toml b/src/api/common/Cargo.toml
index 7be16a09..eea43efe 100644
--- a/src/api/common/Cargo.toml
+++ b/src/api/common/Cargo.toml
@@ -16,56 +16,29 @@ path = "lib.rs"
[dependencies]
garage_model.workspace = true
garage_table.workspace = true
-garage_block.workspace = true
-garage_net.workspace = true
garage_util.workspace = true
-garage_rpc.workspace = true
-
-aes-gcm.workspace = true
-argon2.workspace = true
-async-compression.workspace = true
async-trait.workspace = true
-base64.workspace = true
bytes.workspace = true
chrono.workspace = true
-crc32fast.workspace = true
-crc32c.workspace = true
crypto-common.workspace = true
err-derive.workspace = true
hex.workspace = true
hmac.workspace = true
idna.workspace = true
tracing.workspace = true
-md-5.workspace = true
nom.workspace = true
pin-project.workspace = true
-sha1.workspace = true
sha2.workspace = true
futures.workspace = true
-futures-util.workspace = true
tokio.workspace = true
-tokio-stream.workspace = true
-tokio-util.workspace = true
-
-form_urlencoded.workspace = true
http.workspace = true
-httpdate.workspace = true
-http-range.workspace = true
http-body-util.workspace = true
hyper = { workspace = true, default-features = false, features = ["server", "http1"] }
hyper-util.workspace = true
-multer.workspace = true
-percent-encoding.workspace = true
url.workspace = true
serde.workspace = true
-serde_bytes.workspace = true
serde_json.workspace = true
opentelemetry.workspace = true
-opentelemetry-prometheus = { workspace = true, optional = true }
-prometheus = { workspace = true, optional = true }
-
-[features]
-metrics = [ "opentelemetry-prometheus", "prometheus" ]
diff --git a/src/api/k2v/Cargo.toml b/src/api/k2v/Cargo.toml
index 1e4c53ad..01376020 100644
--- a/src/api/k2v/Cargo.toml
+++ b/src/api/k2v/Cargo.toml
@@ -16,57 +16,25 @@ path = "lib.rs"
[dependencies]
garage_model.workspace = true
garage_table.workspace = true
-garage_block.workspace = true
-garage_net.workspace = true
garage_util.workspace = true
-garage_rpc.workspace = true
garage_api_common.workspace = true
-
-aes-gcm.workspace = true
-argon2.workspace = true
-async-compression.workspace = true
async-trait.workspace = true
base64.workspace = true
-bytes.workspace = true
-chrono.workspace = true
-crc32fast.workspace = true
-crc32c.workspace = true
-crypto-common.workspace = true
err-derive.workspace = true
-hex.workspace = true
-hmac.workspace = true
-idna.workspace = true
tracing.workspace = true
-md-5.workspace = true
-nom.workspace = true
-pin-project.workspace = true
-sha1.workspace = true
-sha2.workspace = true
futures.workspace = true
-futures-util.workspace = true
tokio.workspace = true
-tokio-stream.workspace = true
-tokio-util.workspace = true
-
-form_urlencoded.workspace = true
http.workspace = true
-httpdate.workspace = true
-http-range.workspace = true
http-body-util.workspace = true
hyper = { workspace = true, default-features = false, features = ["server", "http1"] }
-hyper-util.workspace = true
-multer.workspace = true
percent-encoding.workspace = true
url.workspace = true
serde.workspace = true
-serde_bytes.workspace = true
serde_json.workspace = true
opentelemetry.workspace = true
-opentelemetry-prometheus = { workspace = true, optional = true }
-prometheus = { workspace = true, optional = true }
[features]
default = [ "garage_util/k2v", "garage_model/k2v" ]
diff --git a/src/api/s3/Cargo.toml b/src/api/s3/Cargo.toml
index c610b43a..a1751c9f 100644
--- a/src/api/s3/Cargo.toml
+++ b/src/api/s3/Cargo.toml
@@ -23,7 +23,6 @@ garage_rpc.workspace = true
garage_api_common.workspace = true
aes-gcm.workspace = true
-argon2.workspace = true
async-compression.workspace = true
async-trait.workspace = true
base64.workspace = true
@@ -31,20 +30,15 @@ bytes.workspace = true
chrono.workspace = true
crc32fast.workspace = true
crc32c.workspace = true
-crypto-common.workspace = true
err-derive.workspace = true
hex.workspace = true
-hmac.workspace = true
-idna.workspace = true
tracing.workspace = true
md-5.workspace = true
-nom.workspace = true
pin-project.workspace = true
sha1.workspace = true
sha2.workspace = true
futures.workspace = true
-futures-util.workspace = true
tokio.workspace = true
tokio-stream.workspace = true
tokio-util.workspace = true
@@ -55,17 +49,13 @@ httpdate.workspace = true
http-range.workspace = true
http-body-util.workspace = true
hyper = { workspace = true, default-features = false, features = ["server", "http1"] }
-hyper-util.workspace = true
multer.workspace = true
percent-encoding.workspace = true
roxmltree.workspace = true
url.workspace = true
serde.workspace = true
-serde_bytes.workspace = true
serde_json.workspace = true
quick-xml.workspace = true
opentelemetry.workspace = true
-opentelemetry-prometheus = { workspace = true, optional = true }
-prometheus = { workspace = true, optional = true }
diff --git a/src/block/Cargo.toml b/src/block/Cargo.toml
index 1af4d7f5..3358a3e7 100644
--- a/src/block/Cargo.toml
+++ b/src/block/Cargo.toml
@@ -34,10 +34,8 @@ async-compression.workspace = true
zstd.workspace = true
serde.workspace = true
-serde_bytes.workspace = true
futures.workspace = true
-futures-util.workspace = true
tokio.workspace = true
tokio-util.workspace = true
diff --git a/src/db/Cargo.toml b/src/db/Cargo.toml
index 0a278bc0..3ef51fae 100644
--- a/src/db/Cargo.toml
+++ b/src/db/Cargo.toml
@@ -13,7 +13,6 @@ path = "lib.rs"
[dependencies]
err-derive.workspace = true
-hexdump.workspace = true
tracing.workspace = true
heed = { workspace = true, optional = true }
diff --git a/src/garage/Cargo.toml b/src/garage/Cargo.toml
index 21ba368c..c4f61da5 100644
--- a/src/garage/Cargo.toml
+++ b/src/garage/Cargo.toml
@@ -23,7 +23,6 @@ path = "tests/lib.rs"
[dependencies]
format_table.workspace = true
garage_db.workspace = true
-garage_api_common.workspace = true
garage_api_admin.workspace = true
garage_api_s3.workspace = true
garage_api_k2v = { workspace = true, optional = true }
@@ -43,7 +42,6 @@ parse_duration.workspace = true
hex.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
-rand.workspace = true
async-trait.workspace = true
sha1.workspace = true
sodiumoxide.workspace = true
@@ -51,21 +49,16 @@ structopt.workspace = true
git-version.workspace = true
serde.workspace = true
-serde_bytes.workspace = true
-toml.workspace = true
futures.workspace = true
-futures-util.workspace = true
tokio.workspace = true
opentelemetry.workspace = true
opentelemetry-prometheus = { workspace = true, optional = true }
opentelemetry-otlp = { workspace = true, optional = true }
-prometheus = { workspace = true, optional = true }
syslog-tracing = { workspace = true, optional = true }
[dev-dependencies]
-aws-config.workspace = true
aws-sdk-s3.workspace = true
chrono.workspace = true
http.workspace = true
@@ -98,7 +91,7 @@ consul-discovery = [ "garage_rpc/consul-discovery" ]
# Automatic registration and discovery via Kubernetes API
kubernetes-discovery = [ "garage_rpc/kubernetes-discovery" ]
# Prometheus exporter (/metrics endpoint).
-metrics = [ "garage_api_common/metrics", "garage_api_admin/metrics", "opentelemetry-prometheus", "prometheus" ]
+metrics = [ "garage_api_admin/metrics", "opentelemetry-prometheus" ]
# Exporter for the OpenTelemetry Collector.
telemetry-otlp = [ "opentelemetry-otlp" ]
# Logging to syslog
diff --git a/src/k2v-client/Cargo.toml b/src/k2v-client/Cargo.toml
index 694be1f8..bbd09b19 100644
--- a/src/k2v-client/Cargo.toml
+++ b/src/k2v-client/Cargo.toml
@@ -29,12 +29,11 @@ tokio.workspace = true
# cli deps
clap = { workspace = true, optional = true }
format_table = { workspace = true, optional = true }
-tracing = { workspace = true, optional = true }
tracing-subscriber = { workspace = true, optional = true }
[features]
-cli = ["clap", "tokio/fs", "tokio/io-std", "tracing", "tracing-subscriber", "format_table"]
+cli = ["clap", "tokio/fs", "tokio/io-std", "tracing-subscriber", "format_table"]
[lib]
path = "lib.rs"
diff --git a/src/model/Cargo.toml b/src/model/Cargo.toml
index 12931a4c..b58ad43b 100644
--- a/src/model/Cargo.toml
+++ b/src/model/Cargo.toml
@@ -22,7 +22,6 @@ garage_util.workspace = true
garage_net.workspace = true
async-trait.workspace = true
-arc-swap.workspace = true
blake2.workspace = true
chrono.workspace = true
err-derive.workspace = true
@@ -38,9 +37,7 @@ serde.workspace = true
serde_bytes.workspace = true
futures.workspace = true
-futures-util.workspace = true
tokio.workspace = true
-opentelemetry.workspace = true
[features]
default = [ "lmdb", "sqlite" ]
diff --git a/src/rpc/Cargo.toml b/src/rpc/Cargo.toml
index acde0911..fcc1c304 100644
--- a/src/rpc/Cargo.toml
+++ b/src/rpc/Cargo.toml
@@ -15,12 +15,10 @@ path = "lib.rs"
[dependencies]
format_table.workspace = true
-garage_db.workspace = true
garage_util.workspace = true
garage_net.workspace = true
arc-swap.workspace = true
-bytes.workspace = true
bytesize.workspace = true
gethostname.workspace = true
hex.workspace = true
@@ -46,9 +44,7 @@ reqwest = { workspace = true, optional = true }
pnet_datalink.workspace = true
futures.workspace = true
-futures-util.workspace = true
tokio.workspace = true
-tokio-stream.workspace = true
opentelemetry.workspace = true
[features]
diff --git a/src/table/Cargo.toml b/src/table/Cargo.toml
index e704cd3c..fad6ea08 100644
--- a/src/table/Cargo.toml
+++ b/src/table/Cargo.toml
@@ -22,7 +22,6 @@ opentelemetry.workspace = true
async-trait.workspace = true
arc-swap.workspace = true
-bytes.workspace = true
hex.workspace = true
hexdump.workspace = true
tracing.workspace = true
diff --git a/src/util/Cargo.toml b/src/util/Cargo.toml
index da3e39b8..fec5b1ed 100644
--- a/src/util/Cargo.toml
+++ b/src/util/Cargo.toml
@@ -20,9 +20,7 @@ garage_net.workspace = true
arc-swap.workspace = true
async-trait.workspace = true
blake2.workspace = true
-bytes.workspace = true
bytesize.workspace = true
-digest.workspace = true
err-derive.workspace = true
hexdump.workspace = true
xxhash-rust.workspace = true
diff --git a/src/web/Cargo.toml b/src/web/Cargo.toml
index 3f1c2470..a0a3e566 100644
--- a/src/web/Cargo.toml
+++ b/src/web/Cargo.toml
@@ -24,12 +24,9 @@ err-derive.workspace = true
tracing.workspace = true
percent-encoding.workspace = true
-futures.workspace = true
-
http.workspace = true
http-body-util.workspace = true
hyper.workspace = true
-hyper-util.workspace = true
tokio.workspace = true