From 7b909b0ab1f5b3cdb4d05b8f1ddda5b3e4bd2c55 Mon Sep 17 00:00:00 2001 From: "Brian L. Troutwine" Date: Mon, 16 Dec 2024 17:51:44 -0800 Subject: [PATCH] Migrate all `tower` use to workspace This commit migrates all `tower` crate use to derive from the workspace. This is intended to make updating tower easier. Signed-off-by: Brian L. Troutwine --- Cargo.toml | 1 + integration/ducks/Cargo.toml | 2 +- integration/sheepdog/Cargo.toml | 2 +- lading/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c3294e6a7..9656340fa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,6 +25,7 @@ serde = { version = "1.0", features = ["std", "derive"] } serde_json = { version = "1.0", features = ["std"] } thiserror = { version = "1.0" } tokio = { version = "1.41" } +tower = { version = "0.4", default-features = false } tracing = { version = "0.1" } uuid = { version = "1.11", default-features = false, features = [ "v4", diff --git a/integration/ducks/Cargo.toml b/integration/ducks/Cargo.toml index 0ac552e66..4083595b5 100644 --- a/integration/ducks/Cargo.toml +++ b/integration/ducks/Cargo.toml @@ -30,7 +30,7 @@ tonic = { version = "0.9", default-features = false, features = [ "transport", "prost", ] } -tower = { version = "0.4", default-features = false, features = [ +tower = { workspace = true, features = [ "timeout", "limit", "load-shed", diff --git a/integration/sheepdog/Cargo.toml b/integration/sheepdog/Cargo.toml index e3bc67f60..7e3486e38 100644 --- a/integration/sheepdog/Cargo.toml +++ b/integration/sheepdog/Cargo.toml @@ -26,7 +26,7 @@ tonic = { version = "0.9", default-features = false, features = [ "transport", "prost", ] } -tower = { version = "0.4", default-features = false, features = [ +tower = { workspace = true, features = [ "timeout", "limit", "load-shed", diff --git a/lading/Cargo.toml b/lading/Cargo.toml index eebf483ca..027270dfe 100644 --- a/lading/Cargo.toml +++ b/lading/Cargo.toml @@ -76,7 +76,7 @@ tokio = { workspace = true, features = [ tokio-stream = { version = "0.1", features = ["io-util"] } tokio-util = { version = "0.7", features = ["io"] } tonic = { version = "0.9" } -tower = { version = "0.4", default-features = false, features = [ +tower = { workspace = true, features = [ "timeout", "limit", "load-shed",