From 7010934c6d4d9dbd6b55b5440bb2a94909cb3000 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Monnom?= Date: Fri, 30 Jun 2023 22:10:55 +0200 Subject: [PATCH] v0.1.2 (#104) --- .github/workflows/publish.yml | 3 +- Cargo.lock | 12 ++++---- examples/Cargo.lock | 52 +++++++++++++++++++++++--------- examples/basic_room/Cargo.toml | 2 +- examples/save_to_disk/Cargo.toml | 2 +- examples/wgpu_room/Cargo.toml | 2 +- livekit-api/Cargo.toml | 4 +-- livekit-ffi/Cargo.toml | 6 ++-- livekit-protocol/Cargo.toml | 2 +- livekit-webrtc/Cargo.toml | 6 ++-- livekit/Cargo.toml | 8 ++--- webrtc-sys/Cargo.toml | 2 +- 12 files changed, 62 insertions(+), 39 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7f8e467..6567c21 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,7 +22,8 @@ jobs: submodules: true - name: Publish crates run: | - cd livekit-utils && cargo publish + cd livekit-protocol && cargo publish cd ../webrtc-sys && cargo publish cd ../livekit-webrtc && cargo publish cd ../livekit && cp ../README.md README.md && cargo publish --allow-dirty + cd ../livekit-ffi && cargo publish diff --git a/Cargo.lock b/Cargo.lock index fd10881..cc054e4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -822,7 +822,7 @@ checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "livekit" -version = "0.1.1" +version = "0.1.2" dependencies = [ "futures-util", "lazy_static", @@ -840,7 +840,7 @@ dependencies = [ [[package]] name = "livekit-api" -version = "0.1.0" +version = "0.1.2" dependencies = [ "futures-util", "jsonwebtoken", @@ -860,7 +860,7 @@ dependencies = [ [[package]] name = "livekit-ffi" -version = "0.1.1" +version = "0.1.2" dependencies = [ "dashmap", "env_logger", @@ -880,7 +880,7 @@ dependencies = [ [[package]] name = "livekit-protocol" -version = "0.1.0" +version = "0.1.2" dependencies = [ "futures-util", "parking_lot", @@ -892,7 +892,7 @@ dependencies = [ [[package]] name = "livekit-webrtc" -version = "0.1.1" +version = "0.1.2" dependencies = [ "cxx", "env_logger", @@ -2042,7 +2042,7 @@ dependencies = [ [[package]] name = "webrtc-sys" -version = "0.1.1" +version = "0.1.2" dependencies = [ "cxx", "cxx-build", diff --git a/examples/Cargo.lock b/examples/Cargo.lock index 5f311a9..1119283 100644 --- a/examples/Cargo.lock +++ b/examples/Cargo.lock @@ -744,6 +744,12 @@ dependencies = [ "parking_lot", ] +[[package]] +name = "equivalent" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88bffebc5d80432c9b140ee17875ff173a8ab62faad5b257da912bd2f6c1c0a1" + [[package]] name = "errno" version = "0.3.1" @@ -1076,7 +1082,7 @@ checksum = "0b0c02e1ba0bdb14e965058ca34e09c020f8e507a760df1121728e0aef68d57a" dependencies = [ "bitflags 1.3.2", "gpu-descriptor-types", - "hashbrown", + "hashbrown 0.12.3", ] [[package]] @@ -1100,7 +1106,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap", + "indexmap 1.9.3", "slab", "tokio", "tokio-util", @@ -1125,6 +1131,12 @@ dependencies = [ "ahash 0.7.6", ] +[[package]] +name = "hashbrown" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" + [[package]] name = "hassle-rs" version = "0.10.0" @@ -1298,7 +1310,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" dependencies = [ "autocfg", - "hashbrown", + "hashbrown 0.12.3", +] + +[[package]] +name = "indexmap" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" +dependencies = [ + "equivalent", + "hashbrown 0.14.0", ] [[package]] @@ -1481,7 +1503,7 @@ checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "livekit" -version = "0.1.1" +version = "0.1.2" dependencies = [ "futures-util", "lazy_static", @@ -1499,7 +1521,7 @@ dependencies = [ [[package]] name = "livekit-api" -version = "0.1.0" +version = "0.1.2" dependencies = [ "futures-util", "livekit-protocol", @@ -1517,7 +1539,7 @@ dependencies = [ [[package]] name = "livekit-protocol" -version = "0.1.0" +version = "0.1.2" dependencies = [ "futures-util", "parking_lot", @@ -1529,7 +1551,7 @@ dependencies = [ [[package]] name = "livekit-webrtc" -version = "0.1.1" +version = "0.1.2" dependencies = [ "cxx", "futures", @@ -1680,7 +1702,7 @@ dependencies = [ "bitflags 1.3.2", "codespan-reporting", "hexf-parse", - "indexmap", + "indexmap 1.9.3", "log", "num-traits", "rustc-hash", @@ -2068,7 +2090,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4" dependencies = [ "fixedbitset", - "indexmap", + "indexmap 1.9.3", ] [[package]] @@ -2918,17 +2940,17 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a76a9312f5ba4c2dec6b9161fdf25d87ad8a09256ccea5a556fef03c706a10f" +checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" [[package]] name = "toml_edit" -version = "0.19.10" +version = "0.19.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2380d56e8670370eee6566b0bfd4265f65b3f432e8c6d85623f728d4fa31f739" +checksum = "266f016b7f039eec8a1a80dfe6156b633d208b9fccca5e4db1d6775b0c4e34a7" dependencies = [ - "indexmap", + "indexmap 2.0.0", "toml_datetime", "winnow", ] @@ -3311,7 +3333,7 @@ dependencies = [ [[package]] name = "webrtc-sys" -version = "0.1.1" +version = "0.1.2" dependencies = [ "cxx", "cxx-build", diff --git a/examples/basic_room/Cargo.toml b/examples/basic_room/Cargo.toml index 54f93a6..19790f2 100644 --- a/examples/basic_room/Cargo.toml +++ b/examples/basic_room/Cargo.toml @@ -6,5 +6,5 @@ edition = "2021" [dependencies] tokio = { version = "1", features = ["full"] } env_logger = "0.10" -livekit = { path = "../../livekit", version = "0.1.1" } +livekit = { path = "../../livekit", version = "0.1.2" } log = "0.4" diff --git a/examples/save_to_disk/Cargo.toml b/examples/save_to_disk/Cargo.toml index 9821761..4832905 100644 --- a/examples/save_to_disk/Cargo.toml +++ b/examples/save_to_disk/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] tokio = { version = "1", features = ["full"] } -livekit = { path = "../../livekit", version = "0.1.1" } +livekit = { path = "../../livekit", version = "0.1.2" } bytes = "1.4.0" tokio-util = "0.7.8" futures = "0.3.28" diff --git a/examples/wgpu_room/Cargo.toml b/examples/wgpu_room/Cargo.toml index 221e3b3..0f6d5d7 100644 --- a/examples/wgpu_room/Cargo.toml +++ b/examples/wgpu_room/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" tokio = { version = "1", features = ["full"] } tracing = "0.1" tracing-subscriber = "0.3" -livekit = { path = "../../livekit", version = "0.1.1" } +livekit = { path = "../../livekit", version = "0.1.2" } futures = "0.3" wgpu = "0.16" winit = "0.28" diff --git a/livekit-api/Cargo.toml b/livekit-api/Cargo.toml index 4c5483a..d1a325a 100644 --- a/livekit-api/Cargo.toml +++ b/livekit-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "livekit-api" -version = "0.1.0" +version = "0.1.2" edition = "2021" [features] @@ -20,7 +20,7 @@ rustls-tls-webpki-roots = ["tokio-tungstenite?/rustls-tls-webpki-roots", "reqwes __rustls-tls = ["tokio-tungstenite?/__rustls-tls", "reqwest?/__rustls"] [dependencies] -livekit-protocol = { path = "../livekit-protocol", version = "0.1.0" } +livekit-protocol = { path = "../livekit-protocol", version = "0.1.2" } thiserror = "1.0" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" diff --git a/livekit-ffi/Cargo.toml b/livekit-ffi/Cargo.toml index 4398720..adc259a 100644 --- a/livekit-ffi/Cargo.toml +++ b/livekit-ffi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "livekit-ffi" -version = "0.1.1" +version = "0.1.2" edition = "2021" license = "Apache-2.0" description = "LiveKit interface for foreign languages" @@ -15,8 +15,8 @@ rustls-tls-webpki-roots = ["livekit/rustls-tls-webpki-roots"] __rustls-tls = ["livekit/__rustls-tls"] [dependencies] -livekit = { path = "../livekit", version = "0.1.1" } -livekit-protocol = { path = "../livekit-protocol", version = "0.1.0" } +livekit = { path = "../livekit", version = "0.1.2" } +livekit-protocol = { path = "../livekit-protocol", version = "0.1.2" } tokio = { version = "1.0", features = ["full"] } futures-util = { version = "0.3", default-features = false, features = ["sink"] } parking_lot = { version = "0.12.1", features=["deadlock_detection"] } diff --git a/livekit-protocol/Cargo.toml b/livekit-protocol/Cargo.toml index 1ed7422..1f30f61 100644 --- a/livekit-protocol/Cargo.toml +++ b/livekit-protocol/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "livekit-protocol" -version = "0.1.0" +version = "0.1.2" edition = "2021" [dependencies] diff --git a/livekit-webrtc/Cargo.toml b/livekit-webrtc/Cargo.toml index 45c8706..e6f0ca9 100644 --- a/livekit-webrtc/Cargo.toml +++ b/livekit-webrtc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "livekit-webrtc" -version = "0.1.1" +version = "0.1.2" edition = "2021" homepage = "https://livekit.io" license = "Apache-2.0" @@ -8,12 +8,12 @@ description = "Livekit safe bindings to libwebrtc" repository = "https://github.com/livekit/client-sdk-rust" [dependencies] -livekit-protocol = { path = "../livekit-protocol", version = "0.1.0" } +livekit-protocol = { path = "../livekit-protocol", version = "0.1.2" } log = "0.4" thiserror = "1.0" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -webrtc-sys = { path = "../webrtc-sys", version = "0.1.1" } +webrtc-sys = { path = "../webrtc-sys", version = "0.1.2" } lazy_static = "1.4" parking_lot = { version = "0.12.1" } futures = { version = "0.3" } diff --git a/livekit/Cargo.toml b/livekit/Cargo.toml index c07ab0d..75a5057 100644 --- a/livekit/Cargo.toml +++ b/livekit/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "livekit" -version = "0.1.1" +version = "0.1.2" edition = "2021" license = "Apache-2.0" description = "Native SDK for LiveKit" @@ -19,9 +19,9 @@ rustls-tls-webpki-roots = ["livekit-api/rustls-tls-webpki-roots"] __rustls-tls = ["livekit-api/__rustls-tls"] [dependencies] -livekit-api = { path = "../livekit-api", version = "0.1.0", default-features = false, features = ["signal-client"] } -livekit-webrtc = { path = "../livekit-webrtc", version = "0.1.1" } -livekit-protocol = { path = "../livekit-protocol", version = "0.1.0" } +livekit-api = { path = "../livekit-api", version = "0.1.2", default-features = false, features = ["signal-client"] } +livekit-webrtc = { path = "../livekit-webrtc", version = "0.1.2" } +livekit-protocol = { path = "../livekit-protocol", version = "0.1.2" } prost = "0.11" serde = { version = "1", features = ["derive"] } serde_json = "1.0" diff --git a/webrtc-sys/Cargo.toml b/webrtc-sys/Cargo.toml index 883cf10..4a447bd 100644 --- a/webrtc-sys/Cargo.toml +++ b/webrtc-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "webrtc-sys" -version = "0.1.1" +version = "0.1.2" edition = "2021" homepage = "https://livekit.io" license = "Apache-2.0"