chore(rust): bump tokio-tungstenite (#9711)

This commit is contained in:
Thomas Eizinger
2025-06-30 16:18:36 +02:00
committed by GitHub
parent 3b0292d71d
commit 178a9da24d
3 changed files with 14 additions and 16 deletions

24
rust/Cargo.lock generated
View File

@@ -6121,12 +6121,11 @@ dependencies = [
[[package]]
name = "rustls-native-certs"
version = "0.7.3"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5bfb394eeed242e909609f56089eecfe5fda225042e8b171791b9c95f5931e5"
checksum = "7fcff2dd52b58a8d98a70243663a0d234c4e2b79235637849d15913394a247d3"
dependencies = [
"openssl-probe",
"rustls-pemfile",
"rustls-pki-types",
"schannel",
"security-framework",
@@ -6321,12 +6320,12 @@ dependencies = [
[[package]]
name = "security-framework"
version = "2.11.1"
version = "3.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"
checksum = "271720403f46ca04f7ba6f55d438f8bd878d6b8ca0a1046e8228c4145bcbb316"
dependencies = [
"bitflags 2.9.1",
"core-foundation 0.9.4",
"core-foundation 0.10.0",
"core-foundation-sys",
"libc",
"security-framework-sys",
@@ -7832,9 +7831,9 @@ dependencies = [
[[package]]
name = "tokio-tungstenite"
version = "0.23.1"
version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c6989540ced10490aaf14e6bad2e3d33728a2813310a0c71d1574304c49631cd"
checksum = "489a59b6730eda1b0171fcfda8b121f4bee2b35cba8645ca35c5f7ba3eb736c1"
dependencies = [
"futures-util",
"log",
@@ -8235,21 +8234,20 @@ dependencies = [
[[package]]
name = "tungstenite"
version = "0.23.0"
version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e2e2ce1e47ed2994fd43b04c8f618008d4cabdd5ee34027cf14f9d918edd9c8"
checksum = "eadc29d668c91fcc564941132e17b28a7ceb2f3ebf0b9dae3e03fd7a6748eb0d"
dependencies = [
"byteorder",
"bytes",
"data-encoding",
"http 1.3.1",
"httparse",
"log",
"rand 0.8.5",
"rand 0.9.1",
"rustls",
"rustls-pki-types",
"sha1",
"thiserror 1.0.69",
"thiserror 2.0.12",
"utf-8",
]

View File

@@ -176,7 +176,7 @@ thiserror = "2.0.12"
time = "0.3.37"
tokio = "1.45"
tokio-stream = "0.1.17"
tokio-tungstenite = "0.23.1"
tokio-tungstenite = "0.27.0"
tokio-util = "0.7.15"
tracing = { version = "0.1.40" }
tracing-appender = "0.2.3"

View File

@@ -472,7 +472,7 @@ where
match stream.poll_ready_unpin(cx) {
Poll::Ready(Ok(())) => {
if let Some(join) = self.pending_joins.pop_front() {
match stream.start_send_unpin(Message::Text(join.clone())) {
match stream.start_send_unpin(Message::Text(join.clone().into())) {
Ok(()) => {
tracing::trace!(target: "wire::api::send", %join);
@@ -489,7 +489,7 @@ where
if self.pending_join_requests.is_empty() {
if let Some(msg) = self.pending_messages.pop_front() {
match stream.start_send_unpin(Message::Text(msg.clone())) {
match stream.start_send_unpin(Message::Text(msg.clone().into())) {
Ok(()) => {
tracing::trace!(target: "wire::api::send", %msg);