[package]
name = "livekit-ffi"
version = "0.1.1"
edition = "2021"
license = "Apache-2.0"
description = "LiveKit interface for foreign languages"
repository = "https://github.com/livekit/client-sdk-rust" 

[features]
default = ["__rustls-tls"]
native-tls = ["livekit/native-tls"]
native-tls-vendored = ["livekit/native-tls-vendored"]
rustls-tls-native-roots = ["livekit/rustls-tls-native-roots"]
rustls-tls-webpki-roots = ["livekit/rustls-tls-webpki-roots"]
__rustls-tls = ["livekit/__rustls-tls"]

[dependencies]
livekit = { path = "../livekit", version = "0.1.1" }
livekit-protocol = { path = "../livekit-protocol", version = "0.1.0" }
tokio = { version = "1.0", features = ["full"] }
futures-util = { version = "0.3", default-features = false, features = ["sink"] }
parking_lot = { version = "0.12.1", features=["send_guard"] }
prost = "0.11.0"
prost-types = "0.11.1"
lazy_static = "1.4.0"
thiserror = "1.0.38"
log = "0.4.17"
dashmap = "5.4.0"
env_logger = "0.10.0"

[build-dependencies]
prost-build = { version = "0.11.1" }

[dev-dependencies]
livekit-api = { path = "../livekit-api", version = "0.1.0" }

[lib]
crate-type = ["cdylib", "staticlib"]
