From c78043d526134b6cad19151e5ffd25aaefc778fe Mon Sep 17 00:00:00 2001 From: tison Date: Mon, 27 May 2024 15:15:30 +0800 Subject: [PATCH] build(deps): merge tower deps to workspace (#4036) Signed-off-by: tison --- Cargo.toml | 1 + src/common/grpc/Cargo.toml | 2 +- src/frontend/Cargo.toml | 2 +- src/meta-client/Cargo.toml | 2 +- src/meta-srv/Cargo.toml | 2 +- src/servers/Cargo.toml | 2 +- tests-integration/Cargo.toml | 2 +- 7 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f135177a14b4..a5b1f5aed9cc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -172,6 +172,7 @@ tokio-stream = { version = "0.1" } tokio-util = { version = "0.7", features = ["io-util", "compat"] } toml = "0.8.8" tonic = { version = "0.11", features = ["tls", "gzip", "zstd"] } +tower = { version = "0.4" } uuid = { version = "1.7", features = ["serde", "v4", "fast-rng"] } zstd = "0.13" diff --git a/src/common/grpc/Cargo.toml b/src/common/grpc/Cargo.toml index abf57978186e..a823e427a51c 100644 --- a/src/common/grpc/Cargo.toml +++ b/src/common/grpc/Cargo.toml @@ -25,7 +25,7 @@ prost.workspace = true snafu.workspace = true tokio.workspace = true tonic.workspace = true -tower = "0.4" +tower.workspace = true [dev-dependencies] criterion = "0.4" diff --git a/src/frontend/Cargo.toml b/src/frontend/Cargo.toml index 4bc0c52c7a36..2b8d5c746f60 100644 --- a/src/frontend/Cargo.toml +++ b/src/frontend/Cargo.toml @@ -68,5 +68,5 @@ datanode.workspace = true futures = "0.3" meta-srv = { workspace = true, features = ["mock"] } strfmt = "0.2" -tower = "0.4" +tower.workspace = true uuid.workspace = true diff --git a/src/meta-client/Cargo.toml b/src/meta-client/Cargo.toml index 6ea3bdb73070..c0cb0d3e89b3 100644 --- a/src/meta-client/Cargo.toml +++ b/src/meta-client/Cargo.toml @@ -27,6 +27,6 @@ tonic.workspace = true datatypes.workspace = true futures = "0.3" meta-srv = { workspace = true, features = ["mock"] } -tower = "0.4" +tower.workspace = true tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } diff --git a/src/meta-srv/Cargo.toml b/src/meta-srv/Cargo.toml index 923b704a4aec..458832b34d43 100644 --- a/src/meta-srv/Cargo.toml +++ b/src/meta-srv/Cargo.toml @@ -55,7 +55,7 @@ tokio.workspace = true tokio-stream = { workspace = true, features = ["net"] } toml.workspace = true tonic.workspace = true -tower = "0.4" +tower.workspace = true typetag = "0.2" url = "2.3" diff --git a/src/servers/Cargo.toml b/src/servers/Cargo.toml index b6dc9c2cd508..b355539ea713 100644 --- a/src/servers/Cargo.toml +++ b/src/servers/Cargo.toml @@ -100,7 +100,7 @@ tokio-rustls = "0.25" tokio-stream = { workspace = true, features = ["net"] } tonic.workspace = true tonic-reflection = "0.11" -tower = { version = "0.4", features = ["full"] } +tower = { workspace = true, features = ["full"] } tower-http = { version = "0.4", features = ["full"] } urlencoding = "2.1" zstd.workspace = true diff --git a/tests-integration/Cargo.toml b/tests-integration/Cargo.toml index fe6e3e3b0600..2473cfc320ad 100644 --- a/tests-integration/Cargo.toml +++ b/tests-integration/Cargo.toml @@ -73,7 +73,7 @@ time = "0.3" tokio.workspace = true tokio-stream = { workspace = true, features = ["net"] } tonic.workspace = true -tower = "0.4" +tower.workspace = true uuid.workspace = true zstd.workspace = true