# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "libwebrtc" version = "0.3.35" build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Livekit safe bindings to libwebrtc" homepage = "https://livekit.io" readme = false license = "Apache-2.0" repository = "https://github.com/livekit/rust-sdks" [features] default = ["glib-main-loop"] glib-main-loop = ["dep:glib"] [lib] name = "libwebrtc" path = "src/lib.rs" [dependencies.log] version = "0.4" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "2" [dev-dependencies.env_logger] version = "0.11" [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.glib] version = "0.21.3" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.cxx] version = "1.0" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.lazy_static] version = "1.4" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.livekit-runtime] version = "0.4.0" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.parking_lot] version = "0.12" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.rtrb] version = "0.3.3" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio] version = "1" features = [ "sync", "macros", ] default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.webrtc-sys] version = "0.3.33" [target.'cfg(target_arch = "wasm32")'.dependencies.js-sys] version = "0.3" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures] version = "0.4" [target.'cfg(target_arch = "wasm32")'.dependencies.web-sys] version = "0.3" features = [ "MessageEvent", "RtcPeerConnection", "RtcSignalingState", "RtcSdpType", "RtcSessionDescriptionInit", "RtcPeerConnectionIceEvent", "RtcIceCandidate", "RtcDataChannel", "RtcDataChannelEvent", "RtcDataChannelState", "EventTarget", "WebGlRenderingContext", "WebGlTexture", ] [target.'cfg(target_os = "android")'.dependencies.jni] version = "0.21"