From 9627e0af5cc38c6c9deecc548e94f8d5b3f4e88d Mon Sep 17 00:00:00 2001 From: Thomas Coratger <60488569+tcoratger@users.noreply.github.com> Date: Sat, 7 Sep 2024 05:08:54 -0700 Subject: [PATCH] dep: bump tower to 0.5 (#1249) * dep: bump tower to 0.5 * fix clippy --- Cargo.toml | 2 +- crates/rpc-client/src/client.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f016321c610..ef88a7a5862 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -113,7 +113,7 @@ rustls = { version = "0.23", default-features = false, features = [ ] } tokio-test = "0.4" tokio-tungstenite = "0.23" -tower = { version = "0.4", features = ["util"] } +tower = { version = "0.5", features = ["util"] } # tracing tracing = "0.1" diff --git a/crates/rpc-client/src/client.rs b/crates/rpc-client/src/client.rs index b960239e35e..370d18ccaa6 100644 --- a/crates/rpc-client/src/client.rs +++ b/crates/rpc-client/src/client.rs @@ -39,7 +39,7 @@ impl Clone for RpcClient { impl RpcClient { /// Create a new [`ClientBuilder`]. - pub fn builder() -> ClientBuilder { + pub const fn builder() -> ClientBuilder { ClientBuilder { builder: ServiceBuilder::new() } } }