webrtc: Update to async-tungstenite 0.26

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1603>
This commit is contained in:
Sebastian Dröge 2024-06-06 09:08:06 +03:00 committed by GStreamer Marge Bot
parent 8171a00943
commit 85c38107cf
3 changed files with 25 additions and 7 deletions

28
Cargo.lock generated
View file

@ -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"

View file

@ -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"

View file

@ -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"] }