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() } } }