| 1 | # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 | # |
| 3 | # When uploading crates to the registry Cargo will automatically |
| 4 | # "normalize" Cargo.toml files for maximal compatibility |
| 5 | # with all versions of Cargo and also rewrite `path` dependencies |
| 6 | # to registry (e.g., crates.io) dependencies. |
| 7 | # |
| 8 | # If you are reading this file be aware that the original Cargo.toml |
| 9 | # will likely look very different (and much more reasonable). |
| 10 | # See Cargo.toml.orig for the original contents. |
| 11 | |
| 12 | [package] |
| 13 | edition = "2021" |
| 14 | name = "libwebrtc" |
| 15 | version = "0.3.51" |
| 16 | build = false |
| 17 | autolib = false |
| 18 | autobins = false |
| 19 | autoexamples = false |
| 20 | autotests = false |
| 21 | autobenches = false |
| 22 | description = "Livekit safe bindings to libwebrtc" |
| 23 | homepage = "https://livekit.io" |
| 24 | readme = false |
| 25 | license = "Apache-2.0" |
| 26 | repository = "https://github.com/livekit/rust-sdks" |
| 27 | |
| 28 | [package.metadata.feature-combinations] |
| 29 | mode = "powerset" |
| 30 | |
| 31 | [features] |
| 32 | default = [] |
| 33 | glib-main-loop = ["dep:glib"] |
| 34 | |
| 35 | [lib] |
| 36 | name = "libwebrtc" |
| 37 | path = "src/lib.rs" |
| 38 | |
| 39 | [dependencies.log] |
| 40 | version = "0.4" |
| 41 | |
| 42 | [dependencies.serde] |
| 43 | version = "1" |
| 44 | features = ["derive"] |
| 45 | |
| 46 | [dependencies.serde_json] |
| 47 | version = "1.0" |
| 48 | |
| 49 | [dependencies.thiserror] |
| 50 | version = "2" |
| 51 | |
| 52 | [dev-dependencies.env_logger] |
| 53 | version = "0.11" |
| 54 | |
| 55 | [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.glib] |
| 56 | version = "0.21.3" |
| 57 | optional = true |
| 58 | |
| 59 | [target.'cfg(not(target_arch = "wasm32"))'.dependencies.cxx] |
| 60 | version = "1.0" |
| 61 | |
| 62 | [target.'cfg(not(target_arch = "wasm32"))'.dependencies.lazy_static] |
| 63 | version = "1.4" |
| 64 | |
| 65 | [target.'cfg(not(target_arch = "wasm32"))'.dependencies.parking_lot] |
| 66 | version = "0.12" |
| 67 | |
| 68 | [target.'cfg(not(target_arch = "wasm32"))'.dependencies.rtrb] |
| 69 | version = "0.3.3" |
| 70 | |
| 71 | [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio] |
| 72 | version = "1" |
| 73 | features = [ |
| 74 | "sync", |
| 75 | "macros", |
| 76 | "time", |
| 77 | "rt-multi-thread", |
| 78 | ] |
| 79 | default-features = false |
| 80 | |
| 81 | [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-stream] |
| 82 | version = "0.1" |
| 83 | |
| 84 | [target.'cfg(not(target_arch = "wasm32"))'.dependencies.webrtc-sys] |
| 85 | version = "0.3.48" |
| 86 | |
| 87 | [target.'cfg(target_arch = "wasm32")'.dependencies.js-sys] |
| 88 | version = "0.3" |
| 89 | |
| 90 | [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] |
| 91 | version = "0.2" |
| 92 | |
| 93 | [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures] |
| 94 | version = "0.4" |
| 95 | |
| 96 | [target.'cfg(target_arch = "wasm32")'.dependencies.web-sys] |
| 97 | version = "0.3" |
| 98 | features = [ |
| 99 | "MessageEvent", |
| 100 | "RtcPeerConnection", |
| 101 | "RtcSignalingState", |
| 102 | "RtcSdpType", |
| 103 | "RtcSessionDescriptionInit", |
| 104 | "RtcPeerConnectionIceEvent", |
| 105 | "RtcIceCandidate", |
| 106 | "RtcDataChannel", |
| 107 | "RtcDataChannelEvent", |
| 108 | "RtcDataChannelState", |
| 109 | "EventTarget", |
| 110 | "WebGlRenderingContext", |
| 111 | "WebGlTexture", |
| 112 | ] |
| 113 | |
| 114 | [target.'cfg(target_os = "android")'.dependencies.jni] |
| 115 | version = "0.21" |