diff --git a/Cargo.lock b/Cargo.lock index 46461a2..16e1dc5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3325,7 +3325,7 @@ dependencies = [ "tokio", "tokio-tungstenite", "tracing", - "tungstenite", + "tungstenite 0.28.0", "url", ] @@ -4305,7 +4305,7 @@ dependencies = [ "futures-util", "log", "tokio", - "tungstenite", + "tungstenite 0.24.0", ] [[package]] @@ -4612,6 +4612,23 @@ dependencies = [ "utf-8", ] +[[package]] +name = "tungstenite" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8628dcc84e5a09eb3d8423d6cb682965dea9133204e8fb3efee74c2a0c259442" +dependencies = [ + "bytes", + "data-encoding", + "http 1.4.0", + "httparse", + "log", + "rand 0.9.2", + "sha1", + "thiserror 2.0.17", + "utf-8", +] + [[package]] name = "typenum" version = "1.19.0" diff --git a/Cargo.toml b/Cargo.toml index 32e7776..8af812f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -88,7 +88,7 @@ criterion = { version = "0.5", features = ["html_reports"] } # WebSocket tokio-tungstenite = "0.24" -tungstenite = "0.24" +tungstenite = "0.28" # Template engine tera = "1.19" diff --git a/crates/rustapi-ws/Cargo.toml b/crates/rustapi-ws/Cargo.toml index 64edb97..e8576ed 100644 --- a/crates/rustapi-ws/Cargo.toml +++ b/crates/rustapi-ws/Cargo.toml @@ -19,7 +19,7 @@ rustapi-openapi = { workspace = true } # WebSocket implementation tokio-tungstenite = "0.24" -tungstenite = "0.24" +tungstenite = "0.28" # Async runtime tokio = { workspace = true, features = ["sync", "macros", "rt"] }