diff --git a/Cargo.lock b/Cargo.lock index c7050011..d34b40dc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -570,7 +570,7 @@ dependencies = [ "futures-util", "log", "pin-project-lite 0.2.17", - "tungstenite", + "tungstenite 0.17.3", ] [[package]] @@ -5048,11 +5048,14 @@ dependencies = [ "prost", "rand 0.9.2", "reqwest 0.12.28", + "rustls-native-certs 0.6.3", "scopeguard", "serde", "serde_json", "sha2", "thiserror 2.0.18", + "tokio-rustls 0.24.1", + "tokio-tungstenite", "url", ] @@ -7419,16 +7422,22 @@ dependencies = [ "http-body 1.0.1", "http-body-util", "hyper 1.9.0", + "hyper-rustls 0.27.7", "hyper-util", "js-sys", "log", "percent-encoding", "pin-project-lite 0.2.17", + "quinn", + "rustls 0.23.37", + "rustls-native-certs 0.8.3", + "rustls-pki-types", "serde", "serde_json", "serde_urlencoded", "sync_wrapper 1.0.2", "tokio 1.51.0", + "tokio-rustls 0.26.4", "tower", "tower-http 0.6.8", "tower-service", @@ -7665,6 +7674,7 @@ dependencies = [ "schemars", "serde", "serde_json", + "tokio 1.51.0", "ulid 1.2.1", "unicode-segmentation", "url-escape", @@ -9891,6 +9901,21 @@ dependencies = [ "tokio 1.51.0", ] +[[package]] +name = "tokio-tungstenite" +version = "0.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "212d5dcb2a1ce06d81107c3d0ffa3121fe974b73f068c8282cb1c32328113b6c" +dependencies = [ + "futures-util", + "log", + "rustls 0.21.12", + "rustls-native-certs 0.6.3", + "tokio 1.51.0", + "tokio-rustls 0.24.1", + "tungstenite 0.20.1", +] + [[package]] name = "tokio-util" version = "0.7.18" @@ -10146,6 +10171,26 @@ dependencies = [ "utf-8", ] +[[package]] +name = "tungstenite" +version = "0.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e3dac10fd62eaf6617d3a904ae222845979aec67c615d1c842b4002c7666fb9" +dependencies = [ + "byteorder", + "bytes 1.11.1", + "data-encoding", + "http 0.2.12", + "httparse", + "log", + "rand 0.8.5", + "rustls 0.21.12", + "sha1", + "thiserror 1.0.69", + "url", + "utf-8", +] + [[package]] name = "typed-builder" version = "0.22.0" diff --git a/crates/core/database/Cargo.toml b/crates/core/database/Cargo.toml index 26e12e8d..dbaf3575 100644 --- a/crates/core/database/Cargo.toml +++ b/crates/core/database/Cargo.toml @@ -98,6 +98,6 @@ authifier = { workspace = true } amqprs = { workspace = true } # Voice -livekit-api = { workspace = true, optional = true } +livekit-api = { workspace = true, features = ["rustls-tls-native-roots"], optional = true } livekit-protocol = { workspace = true, optional = true } livekit-runtime = { workspace = true, features = ["tokio"], optional = true }