diff --git a/Cargo.toml b/Cargo.toml index 93d4a11df..a6689f9ce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -61,7 +61,7 @@ yuv-sys = { version = "0.3.14", path = "yuv-sys" } anyhow = "1.0" bytes = "1.10" clap = "4.5" -console-subscriber = "0.1" +console-subscriber = "0.5" env_logger = "0.11" from_variants = "1.0.2" futures = "0.3" @@ -73,7 +73,7 @@ parking_lot = "0.12" prost = "0.14" prost-build = "0.14" prost-types = "0.14" -rand = "0.9" +rand = "0.10" serde = "1" serde_json = "1.0" thiserror = "2" diff --git a/device-info/Cargo.toml b/device-info/Cargo.toml index af3e412c1..74359f234 100644 --- a/device-info/Cargo.toml +++ b/device-info/Cargo.toml @@ -16,14 +16,14 @@ libc = "0.2" core-foundation = "0.10" [target.'cfg(target_os = "windows")'.dependencies] -windows-sys = { version = "0.59", features = [ +windows-sys = { version = "0.61", features = [ "Win32_System_Registry", "Win32_System_SystemInformation", "Win32_System_Power", ] } [target.'cfg(target_os = "android")'.dependencies] -jni = "0.21" +jni = "0.22" [target.'cfg(target_arch = "wasm32")'.dependencies] web-sys = { version = "0.3", features = ["Navigator", "Window"] } diff --git a/libwebrtc/Cargo.toml b/libwebrtc/Cargo.toml index 7efe9f4cf..feb85a22c 100644 --- a/libwebrtc/Cargo.toml +++ b/libwebrtc/Cargo.toml @@ -23,10 +23,10 @@ serde_json = { workspace = true } thiserror = { workspace = true } [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies] -glib = { version = "0.21.3", optional = true } +glib = { version = "0.22.0", optional = true } [target.'cfg(target_os = "android")'.dependencies] -jni = "0.21" +jni = "0.22" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] webrtc-sys = { workspace = true } diff --git a/livekit-api/Cargo.toml b/livekit-api/Cargo.toml index b4253e91c..b2c31e526 100644 --- a/livekit-api/Cargo.toml +++ b/livekit-api/Cargo.toml @@ -103,27 +103,27 @@ __rustls-tls = ["tokio-tungstenite?/__rustls-tls", "reqwest?/__rustls"] livekit-protocol = { workspace = true } thiserror = { workspace = true } serde = { workspace = true, features = ["derive"] } -sha2 = "0.10" +sha2 = "0.11" url = "2.3" log = { workspace = true } parking_lot = { workspace = true } -prost = "0.12" -pbjson-types = "0.6" +prost = "0.14" +pbjson-types = "0.9" # webhooks serde_json = { workspace = true, optional = true } -base64 = { version = "0.21", optional = true, features = ["std"] } +base64 = { version = "0.22", optional = true, features = ["std"] } # access_token: HS256 only, via the in-crate HMAC CryptoProvider (jwt_provider.rs). # Dropping jsonwebtoken's rust_crypto bundle avoids linking RSA/EC/EdDSA. jsonwebtoken = { version = "10", default-features = false, optional = true } -hmac = { version = "0.12", optional = true } +hmac = { version = "0.13", optional = true } signature = { version = "2", optional = true } # signal_client livekit-runtime = { workspace = true, optional = true} tokio-tungstenite = { version = "0.29", features = ["url"], optional = true } -async-tungstenite = { version = "0.29", features = [ "async-std-runtime", "async-native-tls", "url"], optional = true } +async-tungstenite = { version = "0.34", features = [ "async-std-runtime", "async-native-tls", "url"], optional = true } tokio = { workspace = true, default-features = false, features = ["sync", "macros", "signal", "io-util", "net"], optional = true } tokio-rustls = { version = "0.26", default-features = false, features = ["logging", "tls12", "ring"], optional = true } rustls-native-certs = { version = "0.8", optional = true } @@ -132,7 +132,7 @@ bytes = { workspace = true, optional = true } # This dependency must be kept in sync with reqwest's version http = "1.1" -reqwest = { version = "0.12", default-features = false, features = [ "json" ], optional = true } +reqwest = { version = "0.13", default-features = false, features = [ "json" ], optional = true } isahc = { version = "1.7.2", default-features = false, features = [ "json", "text-decoding" ], optional = true } flate2 = { version = "1", optional = true } diff --git a/livekit-datatrack/fuzz/Cargo.lock b/livekit-datatrack/fuzz/Cargo.lock index 71fa3c792..61b4161c3 100644 --- a/livekit-datatrack/fuzz/Cargo.lock +++ b/livekit-datatrack/fuzz/Cargo.lock @@ -31,9 +31,9 @@ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] name = "base64" -version = "0.21.7" +version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" [[package]] name = "bitflags" @@ -43,9 +43,9 @@ checksum = "c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3" [[package]] name = "bytes" -version = "1.11.1" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33" +checksum = "8ae3f5d315924270530207e2a68396c3cc547f6dca3fbdca317cfb1a51edb593" [[package]] name = "cc" @@ -65,6 +65,17 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" +[[package]] +name = "chacha20" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d524456ba66e72eb8b115ff89e01e497f8e6d11d78b70b1aa13c0fbd97540a81" +dependencies = [ + "cfg-if", + "cpufeatures", + "rand_core 0.10.1", +] + [[package]] name = "chrono" version = "0.4.44" @@ -74,6 +85,15 @@ dependencies = [ "num-traits", ] +[[package]] +name = "cpufeatures" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201" +dependencies = [ + "libc", +] + [[package]] name = "darling" version = "0.14.4" @@ -192,7 +212,7 @@ dependencies = [ "deunicode", "dummy", "either", - "rand", + "rand 0.9.4", ] [[package]] @@ -209,9 +229,9 @@ checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582" [[package]] name = "fixedbitset" -version = "0.4.2" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" +checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99" [[package]] name = "fnv" @@ -297,6 +317,7 @@ dependencies = [ "cfg-if", "libc", "r-efi 6.0.0", + "rand_core 0.10.1", "wasip2", "wasip3", ] @@ -316,12 +337,6 @@ version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4f467dd6dccf739c208452f8014c75c18bb8301b050ad1cfb27153803edb0f51" -[[package]] -name = "heck" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" - [[package]] name = "heck" version = "0.5.0" @@ -354,18 +369,18 @@ dependencies = [ [[package]] name = "itertools" -version = "0.11.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" dependencies = [ "either", ] [[package]] name = "itertools" -version = "0.12.1" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" dependencies = [ "either", ] @@ -400,9 +415,9 @@ checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66" [[package]] name = "libfuzzer-sys" -version = "0.4.12" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f12a681b7dd8ce12bff52488013ba614b869148d54dd79836ab85aafdd53f08d" +checksum = "a9fd2f41a1cba099f79a0b6b6c35656cf7c03351a7bae8ff0f28f25270f929d2" dependencies = [ "arbitrary", "cc", @@ -416,7 +431,7 @@ checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" [[package]] name = "livekit-datatrack" -version = "0.1.4" +version = "0.1.9" dependencies = [ "anyhow", "bytes", @@ -424,10 +439,11 @@ dependencies = [ "from_variants", "futures-core", "futures-util", + "indexmap", "livekit-protocol", "livekit-runtime", "log", - "rand", + "rand 0.10.2", "thiserror", "tokio", "tokio-stream", @@ -445,17 +461,12 @@ dependencies = [ [[package]] name = "livekit-protocol" -version = "0.7.5" +version = "0.7.10" dependencies = [ - "futures-util", - "livekit-runtime", - "parking_lot", "pbjson", "pbjson-types", "prost", "serde", - "thiserror", - "tokio", ] [[package]] @@ -466,15 +477,6 @@ dependencies = [ "tokio-stream", ] -[[package]] -name = "lock_api" -version = "0.4.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" -dependencies = [ - "scopeguard", -] - [[package]] name = "log" version = "0.4.29" @@ -519,34 +521,11 @@ version = "1.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" -[[package]] -name = "parking_lot" -version = "0.12.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" -dependencies = [ - "lock_api", - "parking_lot_core", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall", - "smallvec", - "windows-link", -] - [[package]] name = "pbjson" -version = "0.6.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1030c719b0ec2a2d25a5df729d6cff1acf3cc230bf766f4f97833591f7577b90" +checksum = "e8edd1efdd8ab23ba9cb9ace3d9987a72663d5d7c9f74fa00b51d6213645cf6c" dependencies = [ "base64", "serde", @@ -554,21 +533,21 @@ dependencies = [ [[package]] name = "pbjson-build" -version = "0.6.2" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2580e33f2292d34be285c5bc3dba5259542b083cfad6037b6d70345f24dcb735" +checksum = "2ed4d5c6ae95e08ac768883c8401cf0e8deb4e6e1d6a4e1fd3d2ec4f0ec63200" dependencies = [ - "heck 0.4.1", - "itertools 0.11.0", + "heck", + "itertools 0.14.0", "prost", "prost-types", ] [[package]] name = "pbjson-types" -version = "0.6.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18f596653ba4ac51bdecbb4ef6773bc7f56042dc13927910de1684ad3d32aa12" +checksum = "a14e2757d877c0f607a82ce1b8560e224370f159d66c5d52eb55ea187ef0350e" dependencies = [ "bytes", "chrono", @@ -581,11 +560,12 @@ dependencies = [ [[package]] name = "petgraph" -version = "0.6.5" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" +checksum = "8701b58ea97060d5e5b155d383a69952a60943f0e6dfe30b04c287beb0b27455" dependencies = [ "fixedbitset", + "hashbrown 0.15.5", "indexmap", ] @@ -625,9 +605,9 @@ dependencies = [ [[package]] name = "prost" -version = "0.12.6" +version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29" +checksum = "528ac67416ff8646872a3c02cad9cc4ee5dc9f9540c9b10771855c95cb2e5ae1" dependencies = [ "bytes", "prost-derive", @@ -635,16 +615,14 @@ dependencies = [ [[package]] name = "prost-build" -version = "0.12.6" +version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4" +checksum = "03da047801ff44bb6a4d407d4860c05fd70bb81714e6b2f3812603d5b145b042" dependencies = [ - "bytes", - "heck 0.5.0", + "heck", "itertools 0.12.1", "log", "multimap", - "once_cell", "petgraph", "prettyplease", "prost", @@ -656,9 +634,9 @@ dependencies = [ [[package]] name = "prost-derive" -version = "0.12.6" +version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1" +checksum = "b570b25f7617e43d59005d0990ccb79e950a423952cea19671b7a876da390adf" dependencies = [ "anyhow", "itertools 0.12.1", @@ -669,9 +647,9 @@ dependencies = [ [[package]] name = "prost-types" -version = "0.12.6" +version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9091c90b0a32608e984ff2fa4091273cbdd755d54935c51d520887f4a1dbd5b0" +checksum = "f94967dc7688f3054c7fac87473ffae4cc4c3904800e2d9f5b857246d8963b0a" dependencies = [ "prost", ] @@ -704,7 +682,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44c5af06bb1b7d3216d91932aed5265164bf384dc89cd6ba05cf59a35f5f76ea" dependencies = [ "rand_chacha", - "rand_core", + "rand_core 0.9.5", +] + +[[package]] +name = "rand" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7f5fa3a058cd35567ef9bfa5e75732bee0f9e4c55fa90477bef2dfcdbc4be80" +dependencies = [ + "chacha20", + "getrandom 0.4.2", + "rand_core 0.10.1", ] [[package]] @@ -714,7 +703,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" dependencies = [ "ppv-lite86", - "rand_core", + "rand_core 0.9.5", ] [[package]] @@ -727,13 +716,10 @@ dependencies = [ ] [[package]] -name = "redox_syscall" -version = "0.5.18" +name = "rand_core" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" -dependencies = [ - "bitflags", -] +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" [[package]] name = "regex" @@ -777,12 +763,6 @@ dependencies = [ "windows-sys", ] -[[package]] -name = "scopeguard" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - [[package]] name = "semver" version = "1.0.28" @@ -838,12 +818,6 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" -[[package]] -name = "smallvec" -version = "1.15.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" - [[package]] name = "socket2" version = "0.6.3" @@ -889,7 +863,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.4.2", "once_cell", "rustix", "windows-sys", @@ -925,21 +898,9 @@ dependencies = [ "mio", "pin-project-lite", "socket2", - "tokio-macros", "windows-sys", ] -[[package]] -name = "tokio-macros" -version = "2.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "385a6cb71ab9ab790c5fe8d67f1645e6c450a7ce006a33de03daa956cf70a496" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.117", -] - [[package]] name = "tokio-stream" version = "0.1.18" @@ -1072,7 +1033,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ea61de684c3ea68cb082b7a88508a8b27fcc8b797d738bfc99a82facf1d752dc" dependencies = [ "anyhow", - "heck 0.5.0", + "heck", "wit-parser", ] @@ -1083,7 +1044,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21" dependencies = [ "anyhow", - "heck 0.5.0", + "heck", "indexmap", "prettyplease", "syn 2.0.117", diff --git a/livekit-ffi/Cargo.toml b/livekit-ffi/Cargo.toml index a869bb71f..6e68948f2 100644 --- a/livekit-ffi/Cargo.toml +++ b/livekit-ffi/Cargo.toml @@ -40,7 +40,7 @@ bytes = { workspace = true } from_variants = "1.0.2" [target.'cfg(target_os = "android")'.dependencies] -jni = "0.21.1" +jni = "0.22.0" link-cplusplus = { version = "1", features = ["nothing"] } device-info = { workspace = true } diff --git a/livekit-protocol/Cargo.toml b/livekit-protocol/Cargo.toml index ead358f25..5c33ac348 100644 --- a/livekit-protocol/Cargo.toml +++ b/livekit-protocol/Cargo.toml @@ -7,7 +7,7 @@ description = "Livekit protocol and utilities for the Rust SDK" repository.workspace = true [dependencies] -prost = "0.12" +prost = "0.14" serde = { workspace = true } -pbjson = "0.6" -pbjson-types = "0.6" +pbjson = "0.9" +pbjson-types = "0.9" diff --git a/livekit-uniffi/Cargo.toml b/livekit-uniffi/Cargo.toml index b203ed5cd..167927e05 100644 --- a/livekit-uniffi/Cargo.toml +++ b/livekit-uniffi/Cargo.toml @@ -14,13 +14,13 @@ publish = false [dependencies] livekit-protocol = { workspace = true } livekit-api = { workspace = true } -uniffi = { version = "0.30.0", features = ["cli", "scaffolding-ffi-buffer-fns"] } +uniffi = { version = "0.31.0", features = ["cli", "scaffolding-ffi-buffer-fns"] } log = { workspace = true } tokio = { workspace = true, features = ["sync"] } once_cell = "1.21.3" [build-dependencies] -uniffi = { version = "0.30.0", features = ["build", "scaffolding-ffi-buffer-fns"] } +uniffi = { version = "0.31.0", features = ["build", "scaffolding-ffi-buffer-fns"] } [[bin]] name = "uniffi-bindgen" diff --git a/livekit-wakeword/Cargo.toml b/livekit-wakeword/Cargo.toml index e7a6c9b5f..a50458de3 100644 --- a/livekit-wakeword/Cargo.toml +++ b/livekit-wakeword/Cargo.toml @@ -9,12 +9,12 @@ license.workspace = true [dependencies] ndarray = "0.17.2" ort = { version = "2.0.0-rc.11", default-features = false, features = ["ndarray", "std"] } -resampler = "0.4" +resampler = "0.5" thiserror = "2" [target.'cfg(not(all(target_arch = "aarch64", target_os = "windows", target_env = "msvc")))'.dependencies] ort = { version = "2.0.0-rc.11", default-features = false, features = ["alternative-backend"] } -ort-tract = "0.2.0+0.22" +ort-tract = "0.3.0" [dev-dependencies] hound = { workspace = true } diff --git a/livekit/Cargo.toml b/livekit/Cargo.toml index 3eb83261e..ffeede22d 100644 --- a/livekit/Cargo.toml +++ b/livekit/Cargo.toml @@ -37,7 +37,7 @@ livekit-api = { workspace = true } libwebrtc = { workspace = true } livekit-protocol = { workspace = true } livekit-datatrack = { workspace = true } -prost = "0.12" +prost = "0.14" serde = { version = "1", features = ["derive"] } serde_json = "1.0" tokio = { version = "1", default-features = false, features = ["sync", "macros", "fs"] } @@ -49,7 +49,7 @@ lazy_static = "1.4" log = "0.4" chrono = "0.4.38" semver = "1.0" -libloading = { version = "0.8.6" } +libloading = { version = "0.9.0" } bytes = "1.10.1" bmrng = "0.5.2" base64 = "0.22" diff --git a/webrtc-sys/build/Cargo.toml b/webrtc-sys/build/Cargo.toml index 0e09bd0ce..e27681aa5 100644 --- a/webrtc-sys/build/Cargo.toml +++ b/webrtc-sys/build/Cargo.toml @@ -7,7 +7,7 @@ description = "Build utilities when working with libwebrtc" repository.workspace = true [dependencies] -reqwest = { version = "0.12", default-features = false, features = ["rustls-tls-native-roots", "blocking"] } +reqwest = { version = "0.13", default-features = false, features = ["rustls-tls-native-roots", "blocking"] } zip = { version = "0.6", default-features = false, features = ["deflate"] } regex = "1.0" scratch = "1.0"