BlueGit

ict rusty-teams

Files

rusty-teams / vendor / libwebrtc / Cargo.toml.orig

Cargo.toml.orig

Cargo.toml.orig 1.9 KiB Download Raw
1[package]
2name = "libwebrtc"
3version = "0.3.51"
4edition.workspace = true
5homepage = "https://livekit.io"
6license.workspace = true
7description = "Livekit safe bindings to libwebrtc"
8repository.workspace = true
9
10[features]
11default = []
12
13# On Wayland, libwebrtc uses GDBus to communicate with the XDG Desktop Portal.
14# GDBus requires a GLib event loop to be running. Enable this feature if you
15# wish to use screensharing, and you do not already have a GLib event loop
16# running in your application.
17glib-main-loop = [ "dep:glib" ]
18
19# How CI checks this crate's features, read by
20# `.github/workflows/feature-combinations-curated.yml` via `cargo metadata`.
21[package.metadata.feature-combinations]
22mode = "powerset"
23
24[dependencies]
25log = { workspace = true }
26serde = { workspace = true, features = ["derive"] }
27serde_json = { workspace = true }
28thiserror = { workspace = true }
29
30[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies]
31glib = { version = "0.21.3", optional = true }
32
33[target.'cfg(target_os = "android")'.dependencies]
34jni = "0.21"
35
36[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
37webrtc-sys = { workspace = true }
38tokio-stream = { workspace = true }
39lazy_static = { workspace = true }
40parking_lot = { workspace = true }
41tokio = { workspace = true, default-features = false, features = ["sync", "macros", "time", "rt-multi-thread"] }
42cxx = "1.0"
43rtrb = "0.3.3"
44
45[target.'cfg(target_arch = "wasm32")'.dependencies]
46wasm-bindgen = "0.2"
47js-sys = "0.3"
48wasm-bindgen-futures = "0.4"
49web-sys = { version = "0.3", features = [
50 "MessageEvent",
51 "RtcPeerConnection",
52 "RtcSignalingState",
53 "RtcSdpType",
54 "RtcSessionDescriptionInit",
55 "RtcPeerConnectionIceEvent",
56 "RtcIceCandidate",
57 "RtcDataChannel",
58 "RtcDataChannelEvent",
59 "RtcDataChannelState",
60 "EventTarget",
61 "WebGlRenderingContext",
62 "WebGlTexture",
63] }
64
65[dev-dependencies]
66env_logger = { workspace = true }