Cargo Features

[dependencies]
livekit = { version = "0.7.0", default-features = false, features = ["async", "tokio", "dispatcher", "native-tls", "native-tls-vendored", "rustls-tls-native-roots", "rustls-tls-webpki-roots"] }
default = tokio

By default ws TLS is not enabled

async

Enables signal-client-async of livekit-api

tokio default

Enables signal-client-tokio of livekit-api

dispatcher

Enables signal-client-dispatcher of livekit-api

Affects livekit::dispatcher

native-tls

Note that the following features only change the behavior of tokio-tungstenite.
It doesn't change the behavior of libwebrtc/webrtc-sys

Enables native-tls of livekit-api

native-tls-vendored

Enables native-tls-vendored of livekit-api

rustls-tls-native-roots

Enables rustls-tls-native-roots of livekit-api

rustls-tls-webpki-roots

Enables rustls-tls-webpki-roots of livekit-api