Cargo Features
[dependencies]
livekit-ffi = { version = "0.9.0", default-features = false, features = ["native-tls", "native-tls-vendored", "rustls-tls-native-roots", "rustls-tls-webpki-roots", "tracing"] }
- default = rustls-tls-native-roots
-
The
rustls-tls-native-roots
feature is set by default wheneverlivekit-ffi
is added without
somewhere in the dependency tree.default-features = false - native-tls
-
Enables native-tls of livekit ^0.6.0
livekit:
Note that the following features only change the behavior of tokio-tungstenite.
It doesn't change the behavior of libwebrtc/webrtc-sys - native-tls-vendored
-
Enables native-tls-vendored of livekit ^0.6.0
- rustls-tls-native-roots default
-
Enables rustls-tls-native-roots of livekit ^0.6.0
- rustls-tls-webpki-roots
-
Enables rustls-tls-webpki-roots of livekit ^0.6.0
- tracing = console-subscriber
-
Enable tokio-console to debug tasks
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.