From efd531900574038bd458187a0c5721a85fbd3486 Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Tue, 11 Jun 2024 04:31:18 +0200 Subject: [PATCH] chore(deps): bump all (#864) --- Cargo.toml | 2 +- crates/rpc-types-engine/Cargo.toml | 2 +- crates/rpc-types-eth/Cargo.toml | 2 +- crates/signer-ledger/Cargo.toml | 2 +- crates/transport-ws/Cargo.toml | 4 ++-- crates/transport/src/common.rs | 10 +++++----- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 85052543d21..caa83b9ec88 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -108,7 +108,7 @@ auto_impl = "1.2" base64 = "0.22" bimap = "0.6" home = "0.5" -itertools = "0.12" +itertools = "0.13" once_cell = { version = "1.19", default-features = false } pin-project = "1.1" rand = "0.8" diff --git a/crates/rpc-types-engine/Cargo.toml b/crates/rpc-types-engine/Cargo.toml index 13b8fb93ec4..8b17bdc4012 100644 --- a/crates/rpc-types-engine/Cargo.toml +++ b/crates/rpc-types-engine/Cargo.toml @@ -31,7 +31,7 @@ serde = { workspace = true, features = ["derive"] } thiserror.workspace = true # jsonrpsee -jsonrpsee-types = { version = "0.22", optional = true } +jsonrpsee-types = { version = "0.23", optional = true } # jwt jsonwebtoken = "9.3.0" diff --git a/crates/rpc-types-eth/Cargo.toml b/crates/rpc-types-eth/Cargo.toml index 93ec0a938f6..f52858d7eb4 100644 --- a/crates/rpc-types-eth/Cargo.toml +++ b/crates/rpc-types-eth/Cargo.toml @@ -34,7 +34,7 @@ proptest = { version = "1.4", optional = true } proptest-derive = { version = "0.4", optional = true } # jsonrpsee -jsonrpsee-types = { version = "0.22", optional = true } +jsonrpsee-types = { version = "0.23", optional = true } alloy-sol-types.workspace = true [dev-dependencies] diff --git a/crates/signer-ledger/Cargo.toml b/crates/signer-ledger/Cargo.toml index aa6721df00f..ee716ce0551 100644 --- a/crates/signer-ledger/Cargo.toml +++ b/crates/signer-ledger/Cargo.toml @@ -20,7 +20,7 @@ alloy-primitives.workspace = true alloy-signer.workspace = true async-trait.workspace = true -coins-ledger = { version = "0.10", default-features = false } +coins-ledger = { version = "0.11", default-features = false } futures-util.workspace = true semver.workspace = true thiserror.workspace = true diff --git a/crates/transport-ws/Cargo.toml b/crates/transport-ws/Cargo.toml index 6b74105f898..8acbd30ce94 100644 --- a/crates/transport-ws/Cargo.toml +++ b/crates/transport-ws/Cargo.toml @@ -25,9 +25,9 @@ tracing.workspace = true # non-WASM only [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -http = "0.2" +http = "1.1" tokio = { workspace = true, features = ["sync", "rt", "time"] } -tokio-tungstenite = { version = "0.20", features = ["rustls-tls-webpki-roots"] } +tokio-tungstenite = { version = "0.23", features = ["rustls-tls-webpki-roots"] } # WASM only [target.'cfg(target_arch = "wasm32")'.dependencies] diff --git a/crates/transport/src/common.rs b/crates/transport/src/common.rs index 7ee988db423..2e5d62af384 100644 --- a/crates/transport/src/common.rs +++ b/crates/transport/src/common.rs @@ -1,16 +1,16 @@ use base64::{engine::general_purpose, Engine}; use std::{fmt, net::SocketAddr}; -/// Basic, bearer or raw authentication in http or websocket transport +/// Basic, bearer or raw authentication in http or websocket transport. /// -/// Use to inject username and password or an auth token into requests +/// Use to inject username and password or an auth token into requests. #[derive(Clone, Debug, PartialEq, Eq)] pub enum Authorization { - /// [RC7617](https://datatracker.ietf.org/doc/html/rfc7617) HTTP Basic Auth + /// [RFC7617](https://datatracker.ietf.org/doc/html/rfc7617) HTTP Basic Auth. Basic(String), - /// [RFC6750](https://datatracker.ietf.org/doc/html/rfc6750) Bearer Auth + /// [RFC6750](https://datatracker.ietf.org/doc/html/rfc6750) Bearer Auth. Bearer(String), - /// Raw auth string + /// Raw auth string. Raw(String), }