Skip to content

Commit

Permalink
v0.3.1 (#314)
Browse files Browse the repository at this point in the history
* v0.3.1

* Update livekit.serde.rs

* fix conflict
  • Loading branch information
theomonnom authored Feb 28, 2024
1 parent 9a424d9 commit 418e67c
Show file tree
Hide file tree
Showing 17 changed files with 42 additions and 42 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
submodules: true
- name: Publish crates
run: |
cd livekit-protocol && cargo publish
cd ../webrtc-sys/build && cargo publish
cd ../../webrtc-sys && cargo publish
cd ../libwebrtc && cargo publish
cd ../livekit-api && cargo publish
cd ../livekit && cp ../README.md README.md && cargo publish --allow-dirty
cd ../livekit-ffi && cargo publish
cd livekit-protocol && cargo publish --no-verify
cd ../webrtc-sys/build && cargo publish --no-verify
cd ../../webrtc-sys && cargo publish --no-verify
cd ../libwebrtc && cargo publish --no-verify
cd ../livekit-api && cargo publish --no-verify
cd ../livekit && cp ../README.md README.md && cargo publish --allow-dirty --no-verify
cd ../livekit-ffi && cargo publish --no-verify
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions examples/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ edition = "2021"

[dependencies]
tokio = { version = "1", features = ["full", "parking_lot"] }
livekit-api = { path = "../../livekit-api", version = "0.3.0", features = ["native-tls"] }
livekit-api = { path = "../../livekit-api", version = "0.3.1", features = ["native-tls"] }
futures = "0.3"

4 changes: 2 additions & 2 deletions examples/basic_room/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ edition = "2021"
[dependencies]
tokio = { version = "1", features = ["full"] }
env_logger = "0.10"
livekit = { path = "../../livekit", version = "0.3.0", features = ["native-tls"]}
livekit-api = { path = "../../livekit-api", version = "0.3.0"}
livekit = { path = "../../livekit", version = "0.3.1", features = ["native-tls"]}
livekit-api = { path = "../../livekit-api", version = "0.3.1"}
log = "0.4"
4 changes: 2 additions & 2 deletions examples/mobile/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"

[dependencies]
lazy_static = "1.4.0"
livekit = { path = "../../livekit", version = "0.3.0", features = ["rustls-tls-webpki-roots"] }
livekit = { path = "../../livekit", version = "0.3.1", features = ["rustls-tls-webpki-roots"] }
log = "0.4.19"
tokio = { version = "1", features = ["full"] }

Expand All @@ -14,7 +14,7 @@ jni = "0.21.1"
android_logger = "0.13.1"

[build-dependencies]
webrtc-sys-build = { path = "../../webrtc-sys/build", version = "0.3.0" }
webrtc-sys-build = { path = "../../webrtc-sys/build", version = "0.3.1" }

[lib]
crate-type = ["cdylib"]
2 changes: 1 addition & 1 deletion examples/play_from_disk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"

[dependencies]
tokio = { version = "1", features = ["full"] }
livekit = { path = "../../livekit", version = "0.3.0" }
livekit = { path = "../../livekit", version = "0.3.1" }
thiserror = "1.0.47"
log = "0.4.20"
env_logger = "0.10.0"
2 changes: 1 addition & 1 deletion examples/save_to_disk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"

[dependencies]
tokio = { version = "1", features = ["full"] }
livekit = { path = "../../livekit", version = "0.3.0" }
livekit = { path = "../../livekit", version = "0.3.1" }
bytes = "1.4.0"
tokio-util = "0.7.8"
futures = "0.3.28"
2 changes: 1 addition & 1 deletion examples/webhooks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ version = "0.1.0"
edition = "2021"

[dependencies]
livekit-api = { version = "0.3.0", path = "../../livekit-api" }
livekit-api = { version = "0.3.1", path = "../../livekit-api" }
hyper = { version = "0.14", features = ["full"] }
tokio = { version = "1", features = ["full"] }
2 changes: 1 addition & 1 deletion examples/wgpu_room/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tracing = ["console-subscriber", "tokio/tracing"]

[dependencies]
tokio = { version = "1", features = ["full", "parking_lot"] }
livekit = { path = "../../livekit", version = "0.3.0", features = ["native-tls"] }
livekit = { path = "../../livekit", version = "0.3.1", features = ["native-tls"] }
futures = "0.3"
winit = "0.28"
parking_lot = { version = "0.12.1", features = ["deadlock_detection"] }
Expand Down
6 changes: 3 additions & 3 deletions libwebrtc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "libwebrtc"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
homepage = "https://livekit.io"
license = "Apache-2.0"
description = "Livekit safe bindings to libwebrtc"
repository = "https://github.com/livekit/rust-sdks"

[dependencies]
livekit-protocol = { path = "../livekit-protocol", version = "0.3.0" }
livekit-protocol = { path = "../livekit-protocol", version = "0.3.1" }
log = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand All @@ -18,7 +18,7 @@ thiserror = "1.0"
jni = "0.21"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
webrtc-sys = { path = "../webrtc-sys", version = "0.3.0" }
webrtc-sys = { path = "../webrtc-sys", version = "0.3.1" }
lazy_static = "1.4"
parking_lot = { version = "0.12" }
tokio = { version = "1", features = ["full"] }
Expand Down
4 changes: 2 additions & 2 deletions livekit-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "livekit-api"
version = "0.3.0"
version = "0.3.1"
license = "Apache-2.0"
description = "Rust Server SDK for LiveKit"
edition = "2021"
Expand All @@ -24,7 +24,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.3.0" }
livekit-protocol = { path = "../livekit-protocol", version = "0.3.1" }
thiserror = "1.0"
serde = { version = "1.0", features = ["derive"] }
sha2 = "0.10"
Expand Down
4 changes: 2 additions & 2 deletions livekit-ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ __rustls-tls = ["livekit/__rustls-tls"]
tracing = ["tokio/tracing", "console-subscriber"]

[dependencies]
livekit = { path = "../livekit", version = "0.3.0" }
livekit-protocol = { path = "../livekit-protocol", version = "0.3.0" }
livekit = { path = "../livekit", version = "0.3.1" }
livekit-protocol = { path = "../livekit-protocol", version = "0.3.1" }
tokio = { version = "1", features = ["full", "parking_lot"] }
futures-util = { version = "0.3", default-features = false, features = ["sink"] }
parking_lot = { version = "0.12", features = ["deadlock_detection"] }
Expand Down
2 changes: 1 addition & 1 deletion livekit-protocol/protocol
Submodule protocol updated 55 files
+1 −0 .gitattributes
+3 −3 .github/workflows/buildtest.yaml
+60 −0 .github/workflows/release-js.yaml
+20 −12 egress/types.go
+81 −0 egress/types_test.go
+22 −22 go.mod
+54 −41 go.sum
+0 −26 logger/deferred_test.go
+111 −146 logger/logger.go
+52 −16 logger/logger_test.go
+39 −19 logger/zaputil/deferrer.go
+41 −0 logger/zaputil/deferrer_test.go
+114 −0 logger/zaputil/encoder.go
+1 −1 logger/zaputil/fieldsampler.go
+1 −40 logger/zaputil/fieldsampler_test.go
+130 −0 logger/zaputil/sampler.go
+76 −0 logger/zaputil/zaputil.go
+58 −0 logger/zaputil/zaputil_test.go
+1 −0 packages/js/.gitignore
+27 −0 packages/js/package.json
+283 −0 packages/js/pnpm-lock.yaml
+458 −0 packages/js/src/gen/livekit_agent_pb.d.ts
+188 −0 packages/js/src/gen/livekit_agent_pb.js
+1,969 −0 packages/js/src/gen/livekit_egress_pb.d.ts
+572 −0 packages/js/src/gen/livekit_egress_pb.js
+818 −0 packages/js/src/gen/livekit_ingress_pb.d.ts
+265 −0 packages/js/src/gen/livekit_ingress_pb.js
+1,781 −0 packages/js/src/gen/livekit_models_pb.d.ts
+612 −0 packages/js/src/gen/livekit_models_pb.js
+1,782 −0 packages/js/src/gen/livekit_rtc_pb.d.ts
+565 −0 packages/js/src/gen/livekit_rtc_pb.js
+578 −0 packages/js/src/gen/livekit_sip_pb.d.ts
+198 −0 packages/js/src/gen/livekit_sip_pb.js
+105 −0 packages/js/src/gen/livekit_webhook_pb.d.ts
+42 −0 packages/js/src/gen/livekit_webhook_pb.js
+1 −0 packages/js/src/gen/version.d.ts
+2 −0 packages/js/src/gen/version.js
+8 −0 packages/js/src/index.d.ts
+8 −0 packages/js/src/index.js
+0 −37 psrpc/metrics.go
+0 −1 rpc/egress_client.go
+1 −1 rpc/ingress.proto
+48 −42 rpc/io.pb.go
+1 −0 rpc/io.proto
+81 −63 rpc/io.psrpc.go
+16 −17 rpc/logging.go
+143 −0 rpc/metrics.go
+4 −4 rpc/typed_api.go
+17 −6 utils/bitmap.go
+1 −0 utils/lock_tracker.go
+29 −0 utils/must/must.go
+8 −10 utils/protoproxy.go
+11 −0 utils/protoproxy_test.go
+4 −0 utils/timed_version.go
+4 −4 xtls/tls.go
8 changes: 4 additions & 4 deletions livekit/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "livekit"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
license = "Apache-2.0"
description = "Rust Client SDK for LiveKit"
Expand All @@ -22,9 +22,9 @@ __rustls-tls = ["livekit-api/__rustls-tls"]
__lk-internal = []

[dependencies]
livekit-api = { path = "../livekit-api", version = "0.3.0", default-features = false, features = ["signal-client"] }
libwebrtc = { path = "../libwebrtc", version = "0.3.0" }
livekit-protocol = { path = "../livekit-protocol", version = "0.3.0" }
livekit-api = { path = "../livekit-api", version = "0.3.1", default-features = false, features = ["signal-client"] }
libwebrtc = { path = "../libwebrtc", version = "0.3.1" }
livekit-protocol = { path = "../livekit-protocol", version = "0.3.1" }
prost = "0.12"
serde = { version = "1", features = ["derive"] }
serde_json = "1.0"
Expand Down
4 changes: 2 additions & 2 deletions webrtc-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "webrtc-sys"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
homepage = "https://livekit.io"
license = "Apache-2.0"
Expand All @@ -12,7 +12,7 @@ cxx = "1.0"
log = "0.4"

[build-dependencies]
webrtc-sys-build = { version = "0.3.0", path = "./build" }
webrtc-sys-build = { version = "0.3.1", path = "./build" }
cxx-build = "1.0"
glob = "0.3"
cc = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion webrtc-sys/build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "webrtc-sys-build"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
license = "Apache-2.0"
description = "Build utilities when working with libwebrtc"
Expand Down

0 comments on commit 418e67c

Please sign in to comment.