From 8841af6ee6d1b12b0e8de34d57a976287b9aae3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Monnom?= Date: Thu, 12 Jan 2023 14:48:03 +0100 Subject: [PATCH] v0.1.1 (#32) --- .github/workflows/publish.yml | 28 ++++++++++++++++++++++++++++ Cargo.lock | 8 ++++---- examples/Cargo.lock | 10 +++++----- examples/Cargo.toml | 2 +- examples/simple_room/Cargo.toml | 4 ++-- livekit-ffi/Cargo.toml | 4 ++-- livekit-utils/Cargo.toml | 2 +- livekit-webrtc/Cargo.toml | 6 +++--- livekit/Cargo.toml | 6 +++--- webrtc-sys/Cargo.toml | 2 +- 10 files changed, 50 insertions(+), 22 deletions(-) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..e12d803 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,28 @@ +name: Publish crates + +on: + push: + tags: + - v* + +env: + CARGO_TERM_COLOR: always + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }} + +jobs: + publish: + runs-on: windows-latest + steps: + - name: Install Protoc + uses: arduino/setup-protoc@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/checkout@v3 + with: + submodules: true + - name: Publish crates + run: | + cd livekit-utils && cargo publish \ + cd ../webrtc-sys && cargo publish \ + cd ../livekit-webrtc && cargo publish \ + cd ../livekit && cp ../README.md README.md && cargo publish diff --git a/Cargo.lock b/Cargo.lock index b2d6c82..544be83 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -642,7 +642,7 @@ dependencies = [ [[package]] name = "livekit" -version = "0.1.0" +version = "0.1.1" dependencies = [ "futures", "futures-util", @@ -664,7 +664,7 @@ dependencies = [ [[package]] name = "livekit-utils" -version = "0.1.0" +version = "0.1.1" dependencies = [ "parking_lot", "tokio", @@ -672,7 +672,7 @@ dependencies = [ [[package]] name = "livekit-webrtc" -version = "0.1.0" +version = "0.1.1" dependencies = [ "cxx", "env_logger", @@ -1493,7 +1493,7 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "webrtc-sys" -version = "0.1.0" +version = "0.1.1" dependencies = [ "curl", "cxx", diff --git a/examples/Cargo.lock b/examples/Cargo.lock index b595fbf..a9c5032 100644 --- a/examples/Cargo.lock +++ b/examples/Cargo.lock @@ -1284,7 +1284,7 @@ dependencies = [ [[package]] name = "livekit" -version = "0.1.0" +version = "0.1.1" dependencies = [ "futures", "futures-util", @@ -1306,7 +1306,7 @@ dependencies = [ [[package]] name = "livekit-utils" -version = "0.1.0" +version = "0.1.1" dependencies = [ "parking_lot", "tokio", @@ -1314,7 +1314,7 @@ dependencies = [ [[package]] name = "livekit-webrtc" -version = "0.1.0" +version = "0.1.1" dependencies = [ "cxx", "livekit-utils", @@ -2229,7 +2229,7 @@ dependencies = [ [[package]] name = "simple_room" -version = "0.1.0" +version = "0.1.1" dependencies = [ "egui", "egui-wgpu", @@ -2905,7 +2905,7 @@ dependencies = [ [[package]] name = "webrtc-sys" -version = "0.1.0" +version = "0.1.1" dependencies = [ "curl", "cxx", diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 20abc68..5c0b474 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -1,4 +1,4 @@ [workspace] members = ["*"] -exclude = ["target", ".cargo"] +exclude = ["target", "images", ".cargo"] resolver = "2" diff --git a/examples/simple_room/Cargo.toml b/examples/simple_room/Cargo.toml index 2d434a8..50bc7eb 100644 --- a/examples/simple_room/Cargo.toml +++ b/examples/simple_room/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "simple_room" -version = "0.1.0" +version = "0.1.1" edition = "2021" [dependencies] tokio = { version = "1", features = ["full"] } tracing = "0.1" tracing-subscriber = "0.3" -livekit = { path = "../../livekit", version = "0.1.0" } +livekit = { path = "../../livekit", version = "0.1.1" } futures = "0.3" wgpu = "0.14.0" winit = "0.27.5" diff --git a/livekit-ffi/Cargo.toml b/livekit-ffi/Cargo.toml index 4e401c9..582639f 100644 --- a/livekit-ffi/Cargo.toml +++ b/livekit-ffi/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "livekit-ffi" -version = "0.1.0" +version = "0.1.1" edition = "2021" license = "Apache-2.0" description = "LiveKit interface for foreign languages" [dependencies] -livekit = { path = "../livekit", version = "0.1.0" } +livekit = { path = "../livekit", version = "0.1.1" } tokio = { version = "1.0", features = ["full"] } diff --git a/livekit-utils/Cargo.toml b/livekit-utils/Cargo.toml index 0798781..68cd2c0 100644 --- a/livekit-utils/Cargo.toml +++ b/livekit-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "livekit-utils" -version = "0.1.0" +version = "0.1.1" edition = "2021" license = "Apache-2.0" description = "Shared utilities for livekit" diff --git a/livekit-webrtc/Cargo.toml b/livekit-webrtc/Cargo.toml index 96277a7..43a7ba5 100644 --- a/livekit-webrtc/Cargo.toml +++ b/livekit-webrtc/Cargo.toml @@ -1,14 +1,14 @@ [package] name = "livekit-webrtc" -version = "0.1.0" +version = "0.1.1" edition = "2021" homepage = "https://livekit.io" license = "Apache-2.0" description = "Livekit safe bindings to libwebrtc" [dependencies] -webrtc-sys = { path = "../webrtc-sys", version = "0.1.0" } -livekit-utils = { path = "../livekit-utils", version = "0.1.0" } +webrtc-sys = { path = "../webrtc-sys", version = "0.1.1" } +livekit-utils = { path = "../livekit-utils", version = "0.1.1" } tokio = { version = "1", features = ["full"] } cxx = "1.0" log = "0.4" diff --git a/livekit/Cargo.toml b/livekit/Cargo.toml index 5375c7d..d616938 100644 --- a/livekit/Cargo.toml +++ b/livekit/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "livekit" -version = "0.1.0" +version = "0.1.1" edition = "2021" license = "Apache-2.0" description = "Native SDK for LiveKit" [dependencies] -livekit-webrtc = { path = "../livekit-webrtc", version = "0.1.0" } -livekit-utils = { path = "../livekit-utils", version = "0.1.0" } +livekit-webrtc = { path = "../livekit-webrtc", version = "0.1.1" } +livekit-utils = { path = "../livekit-utils", version = "0.1.1" } serde = { version = "1", features = ["derive"] } serde_json = "1.0" tokio-tungstenite = { version = "0.17.2", features = ["native-tls"] } diff --git a/webrtc-sys/Cargo.toml b/webrtc-sys/Cargo.toml index 685633c..2252828 100644 --- a/webrtc-sys/Cargo.toml +++ b/webrtc-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "webrtc-sys" -version = "0.1.0" +version = "0.1.1" edition = "2021" homepage = "https://livekit.io" license = "Apache-2.0"