diff --git a/Cargo.lock b/Cargo.lock index 3213cce4..5b1a1985 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3284,7 +3284,7 @@ dependencies = [ "tokio", "tokio-tungstenite", "tracing", - "tungstenite", + "tungstenite 0.24.0", "url", ] @@ -4211,14 +4211,14 @@ dependencies = [ [[package]] name = "tokio-tungstenite" -version = "0.24.0" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edc5f74e248dc973e0dbb7b74c7e0d6fcc301c694ff50049504004ef4d0cdcd9" +checksum = "17a073bfed563fa236697a068031408a93cd9522e08abf9933ead3e73411bd71" dependencies = [ "futures-util", "log", "tokio", - "tungstenite", + "tungstenite 0.30.0", ] [[package]] @@ -4554,6 +4554,22 @@ dependencies = [ "utf-8", ] +[[package]] +name = "tungstenite" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e48ac77174b19c110a50ab2128b24215ac9cb40e0e12e093fb602d175c569d22" +dependencies = [ + "bytes", + "data-encoding", + "http", + "httparse", + "log", + "rand 0.10.2", + "sha1 0.11.0", + "thiserror 2.0.20", +] + [[package]] name = "typenum" version = "1.20.1" diff --git a/Cargo.toml b/Cargo.toml index 4d475fb0..d7bd6718 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -77,7 +77,7 @@ toon-format = { version = "0.4", default-features = false } criterion = { version = "0.5", features = ["html_reports"] } # WebSocket -tokio-tungstenite = "0.24" +tokio-tungstenite = "0.30" tungstenite = "0.24" # gRPC diff --git a/crates/rustapi-ws/Cargo.toml b/crates/rustapi-ws/Cargo.toml index 5ff2b037..a46b2ffb 100644 --- a/crates/rustapi-ws/Cargo.toml +++ b/crates/rustapi-ws/Cargo.toml @@ -18,7 +18,7 @@ rustapi-core = { workspace = true } rustapi-openapi = { workspace = true } # WebSocket implementation -tokio-tungstenite = "0.24" +tokio-tungstenite = "0.30" tungstenite = "0.24" # Async runtime