fork/rust-sdks
git clone https://git.julia.blue/fork/rust-sdks
de91ada
main
1[ package ] 2name = "livekit-api" 3version = "0.4.2" 4license = "Apache-2.0" 5description = "Rust Server SDK for LiveKit" 6edition = "2021" 7repository = "https://github.com/livekit/rust-sdks" 8 9[ features ] 10# By default ws TLS is not enabled 11default = [ "services-tokio" , "access-token" , "webhooks" ] 12 13signal-client-tokio = [ 14"dep:tokio-tungstenite" , 15"dep:tokio" , 16"dep:futures-util" , 17"dep:reqwest" , 18"dep:livekit-runtime" , 19"livekit-runtime/tokio" 20] 21 22signal-client-async = [ 23"__signal-client-async-compatible" , 24"livekit-runtime/async" 25] 26 27signal-client-dispatcher = [ 28"__signal-client-async-compatible" , 29"livekit-runtime/dispatcher" 30] 31 32__signal-client-async-compatible = [ 33"dep:async-tungstenite" , 34"dep:tokio" , # For macros and sync 35"dep:futures-util" , 36"dep:isahc" , 37"dep:livekit-runtime" , 38] 39 40 41services-tokio = [ "dep:reqwest" ] 42services-async = [ "dep:isahc" ] 43access-token = [ "dep:jsonwebtoken" ] 44webhooks = [ "access-token" , "dep:serde_json" , "dep:base64" ] 45 46# Note that the following features only change the behavior of tokio-tungstenite. 47# It doesn't change the behavior of libwebrtc/webrtc-sys 48native-tls = [ 49"tokio-tungstenite?/native-tls" , 50"async-tungstenite?/async-native-tls" , 51"reqwest?/native-tls" 52] 53native-tls-vendored = [ 54"tokio-tungstenite?/native-tls-vendored" , 55"reqwest?/native-tls-vendored" , 56] 57rustls-tls-native-roots = [ 58"tokio-tungstenite?/rustls-tls-native-roots" , 59"reqwest?/rustls-tls-native-roots" , 60] 61rustls-tls-webpki-roots = [ 62"tokio-tungstenite?/rustls-tls-webpki-roots" , 63"reqwest?/rustls-tls-webpki-roots" , 64] 65__rustls-tls = [ "tokio-tungstenite?/__rustls-tls" , "reqwest?/__rustls" ] 66 67[ dependencies ] 68livekit-protocol = { path = "../livekit-protocol" , version = "0.3.9" } 69thiserror = "1.0" 70serde = { version = "1.0" , features = [ "derive" ] } 71sha2 = "0.10" 72url = "2.3" 73log = "0.4" 74parking_lot = { version = "0.12" } 75prost = "0.12" 76pbjson-types = "0.6" 77 78# webhooks 79serde_json = { version = "1.0" , optional = true } 80base64 = { version = "0.21" , optional = true } 81 82# access_token & services 83jsonwebtoken = { version = "9" , default-features = false , optional = true } 84 85# signal_client 86livekit-runtime = { path = "../livekit-runtime" , version = "0.4.0" , optional = true } 87tokio-tungstenite = { version = "0.20" , optional = true } 88async-tungstenite = { version = "0.25.0" , features = [ "async-std-runtime" , "async-native-tls" ], optional = true } 89tokio = { version = "1" , default-features = false , features = [ "sync" , "macros" , "signal" ], optional = true } 90futures-util = { version = "0.3" , default-features = false , features = [ "sink" ], optional = true } 91 92# This dependency must be kept in sync with reqwest's version 93http = "0.2.1" 94reqwest = { version = "0.11" , default-features = false , features = [ "json" ], optional = true } 95isahc = { version = "1.7.2" , default-features = false , features = [ "json" , "text-decoding" ], optional = true } 96 97scopeguard = "1.2.0" 98rand = "0.9.0"