diff --git a/Cargo.lock b/Cargo.lock index 3c64b94a..9ac800eb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1347,15 +1347,6 @@ dependencies = [ "hashbrown", ] -[[package]] -name = "input_buffer" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f97967975f448f1a7ddb12b0bc41069d09ed6a1c161a92687e057325db35d413" -dependencies = [ - "bytes", -] - [[package]] name = "ipnet" version = "2.3.1" @@ -2054,6 +2045,18 @@ dependencies = [ "webpki", ] +[[package]] +name = "rustls-native-certs" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a07b7c1885bd8ed3831c289b7870b13ef46fe0e856d288c30d9cc17d75a2092" +dependencies = [ + "openssl-probe", + "rustls", + "schannel", + "security-framework", +] + [[package]] name = "ryu" version = "1.0.5" @@ -2443,9 +2446,9 @@ dependencies = [ [[package]] name = "tokio-tungstenite" -version = "0.14.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e96bb520beab540ab664bd5a9cfeaa1fcd846fa68c830b42e2c8963071251d2" +checksum = "511de3f85caf1c98983545490c3d09685fa8eb634e57eec22bb4db271f46cbd8" dependencies = [ "futures-util", "log", @@ -2527,26 +2530,25 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "tungstenite" -version = "0.13.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fe8dada8c1a3aeca77d6b51a4f1314e0f4b8e438b7b1b71e3ddaca8080e4093" +checksum = "a0b2d8558abd2e276b0a8df5c05a2ec762609344191e5fd23e292c910e9165b5" dependencies = [ "base64 0.13.0", "byteorder", "bytes", "http", "httparse", - "input_buffer", "log", "native-tls", "rand 0.8.4", "rustls", + "rustls-native-certs", "sha-1", "thiserror", "url", "utf-8", "webpki", - "webpki-roots", ] [[package]] diff --git a/ethers-providers/Cargo.toml b/ethers-providers/Cargo.toml index 01d91977..518223a1 100644 --- a/ethers-providers/Cargo.toml +++ b/ethers-providers/Cargo.toml @@ -38,7 +38,7 @@ tracing-futures = { version = "0.2.5", default-features = false, features = ["st # tokio tokio = { version = "1.5", default-features = false, optional = true } -tokio-tungstenite = { version = "0.14.0", default-features = false, features = ["connect"], optional = true } +tokio-tungstenite = { version = "0.15.0", default-features = false, features = ["connect"], optional = true } tokio-util = { version = "0.6.7", default-features = false, features = ["io"], optional = true } bytes = { version = "1.0.1", default-features = false, optional = true }