From 85c38107cf8183e6b3dc1e5695b9b70a0027e0fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 6 Jun 2024 09:08:06 +0300 Subject: [PATCH] webrtc: Update to async-tungstenite 0.26 Part-of: --- Cargo.lock | 28 +++++++++++++++++++++++----- net/webrtc/Cargo.toml | 2 +- net/webrtc/signalling/Cargo.toml | 2 +- 3 files changed, 25 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 137018f5..10e8e136 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -264,9 +264,9 @@ dependencies = [ [[package]] name = "async-tungstenite" -version = "0.25.1" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cca750b12e02c389c1694d35c16539f88b8bbaa5945934fdc1b41a776688589" +checksum = "7cf3e0ba34d3cf04731e376a1cf6c16c357396ab66da227bd283e74d49890b2a" dependencies = [ "futures-io", "futures-util", @@ -275,7 +275,7 @@ dependencies = [ "pin-project-lite", "tokio", "tokio-native-tls", - "tungstenite 0.21.0", + "tungstenite 0.23.0", ] [[package]] @@ -3837,7 +3837,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2 0.4.10", + "socket2 0.5.7", "tokio", "tower-service", "tracing", @@ -7020,7 +7020,6 @@ dependencies = [ "http 1.1.0", "httparse", "log", - "native-tls", "rand", "sha1", "thiserror", @@ -7028,6 +7027,25 @@ dependencies = [ "utf-8", ] +[[package]] +name = "tungstenite" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e2e2ce1e47ed2994fd43b04c8f618008d4cabdd5ee34027cf14f9d918edd9c8" +dependencies = [ + "byteorder", + "bytes", + "data-encoding", + "http 1.1.0", + "httparse", + "log", + "native-tls", + "rand", + "sha1", + "thiserror", + "utf-8", +] + [[package]] name = "typenum" version = "1.17.0" diff --git a/net/webrtc/Cargo.toml b/net/webrtc/Cargo.toml index 7bf96f59..15f98da4 100644 --- a/net/webrtc/Cargo.toml +++ b/net/webrtc/Cargo.toml @@ -28,7 +28,7 @@ futures = "0.3" tokio = { version = "1", features = ["fs", "macros", "rt-multi-thread", "time"] } tokio-native-tls = "0.3.0" tokio-stream = "0.1.11" -async-tungstenite = { version = "0.25", features = ["tokio-runtime", "tokio-native-tls"] } +async-tungstenite = { version = "0.26", features = ["tokio-runtime", "tokio-native-tls"] } serde = { version = "1", features = ["derive"] } serde_json = "1" fastrand = "2.0" diff --git a/net/webrtc/signalling/Cargo.toml b/net/webrtc/signalling/Cargo.toml index a4ed4767..1836d31d 100644 --- a/net/webrtc/signalling/Cargo.toml +++ b/net/webrtc/signalling/Cargo.toml @@ -12,7 +12,7 @@ rust-version.workspace = true anyhow = "1" tokio = { version = "1", features = ["fs", "io-util", "macros", "rt-multi-thread", "time"] } tokio-native-tls = "0.3.0" -async-tungstenite = { version = "0.25", features = ["tokio-runtime", "tokio-native-tls"] } +async-tungstenite = { version = "0.26", features = ["tokio-runtime", "tokio-native-tls"] } serde = { version = "1", features = ["derive"] } serde_json = "1" clap = { version = "4", features = ["derive"] }