diff --git a/Cargo.lock b/Cargo.lock index 4b8b47ef..6ed19fbe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3738,17 +3738,6 @@ dependencies = [ "syn", ] -[[package]] -name = "sha-1" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "028f48d513f9678cda28f6e4064755b3fbb2af6acd672f2c209b62323f7aea0f" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.10.5", -] - [[package]] name = "sha1" version = "0.10.1" @@ -4241,9 +4230,9 @@ dependencies = [ [[package]] name = "tokio-tungstenite" -version = "0.17.2" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f714dd15bead90401d77e04243611caec13726c2408afd5b31901dfcdcb3b181" +checksum = "54319c93411147bced34cb5609a80e0a8e44c5999c93903a81cd866630ec0bfd" dependencies = [ "futures-util", "log", @@ -4381,9 +4370,9 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "tungstenite" -version = "0.17.3" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e27992fd6a8c29ee7eef28fc78349aa244134e10ad447ce3b9f0ac0ed0fa4ce0" +checksum = "30ee6ab729cd4cf0fd55218530c4522ed30b7b6081752839b68fcec8d0960788" dependencies = [ "base64 0.13.1", "byteorder", @@ -4394,7 +4383,7 @@ dependencies = [ "native-tls", "rand 0.8.5", "rustls", - "sha-1", + "sha1", "thiserror", "url", "utf-8", diff --git a/ethers-providers/Cargo.toml b/ethers-providers/Cargo.toml index 9e482923..83ca1b51 100644 --- a/ethers-providers/Cargo.toml +++ b/ethers-providers/Cargo.toml @@ -46,7 +46,7 @@ hashers = "1.0.1" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] # tokio tokio = { version = "1.18", features = ["time"] } -tokio-tungstenite = { version = "0.17.2", default-features = false, features = [ +tokio-tungstenite = { version = "0.18.0", default-features = false, features = [ "connect", ], optional = true }