livekit_runtime/
lib.rs

1#[cfg(any(
2    all(feature = "tokio", feature = "async"),
3    all(feature = "tokio", feature = "dispatcher"),
4    all(feature = "dispatcher", feature = "async")
5))]
6compile_error!("Cannot compile livekit with multiple runtimes");
7
8#[cfg(feature = "tokio")]
9mod tokio;
10#[cfg(feature = "tokio")]
11pub use tokio::*;
12
13#[cfg(feature = "async")]
14mod async_std;
15#[cfg(feature = "async")]
16pub use async_std::*;
17
18#[cfg(feature = "dispatcher")]
19mod dispatcher;
20#[cfg(feature = "dispatcher")]
21pub use dispatcher::*;