From 1a03edd27db272cffbee23ae5d66f6b8c17e67cd 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 | 26 ++++++++++++++++++++++---- net/webrtc/Cargo.toml | 2 +- net/webrtc/signalling/Cargo.toml | 2 +- 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 87574a35..d43e1a44 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]] @@ -6708,7 +6708,6 @@ dependencies = [ "http 1.1.0", "httparse", "log", - "native-tls", "rand", "sha1", "thiserror", @@ -6716,6 +6715,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 e5f3d928..c5cb056a 100644 --- a/net/webrtc/Cargo.toml +++ b/net/webrtc/Cargo.toml @@ -26,7 +26,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 65962b9a..ed1b68cc 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"] }