diff --git a/Cargo.lock b/Cargo.lock index 1ed06136646..935e4c7ca4b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -615,6 +615,12 @@ version = "0.21.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" +[[package]] +name = "base64" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9475866fec1451be56a3c2400fd081ff546538961565ccb5b7142cbd22bc7a51" + [[package]] name = "base64ct" version = "1.6.0" @@ -5350,19 +5356,6 @@ dependencies = [ "serde", ] -[[package]] -name = "sha-1" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if", - "cpufeatures", - "digest 0.9.0", - "opaque-debug", -] - [[package]] name = "sha1" version = "0.10.5" @@ -5535,17 +5528,17 @@ dependencies = [ [[package]] name = "soketto" -version = "0.7.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2" +checksum = "37468c595637c10857701c990f93a40ce0e357cedb0953d1c26c8d8027f9bb53" dependencies = [ - "base64 0.13.1", + "base64 0.22.0", "bytes", "futures", "httparse", "log", "rand 0.8.5", - "sha-1", + "sha1", ] [[package]] diff --git a/transports/websocket/Cargo.toml b/transports/websocket/Cargo.toml index 385e292103c..473aeb2c8ff 100644 --- a/transports/websocket/Cargo.toml +++ b/transports/websocket/Cargo.toml @@ -19,7 +19,7 @@ libp2p-identity = { workspace = true } parking_lot = "0.12.0" pin-project-lite = "0.2.13" rw-stream-sink = { workspace = true } -soketto = "0.7.0" +soketto = "0.8.0" tracing = "0.1.37" url = "2.5" webpki-roots = "0.25"