Cargo Features
[dependencies]
livekit-runtime = { version = "0.4.0", default-features = false, features = ["tokio", "async", "dispatcher"] }
- default = tokio
-
The
tokio
feature is set by default wheneverlivekit-runtime
is added without
somewhere in the dependency tree.default-features = false - tokio default
-
Enables tokio and tokio-stream
- async
-
Enables async-io, async-std, and futures
async-std:
dispatcher and async-std
- dispatcher
-
Enables async-io, async-std, async-task, and futures