gmf/lib.rs
1#[cfg(not(any(
2 feature = "monoio-runtime",
3 feature = "glommio-runtime",
4 feature = "tokio-runtime"
5)))]
6compile_error!(
7 "Enable at least one runtime feature: monoio-runtime, glommio-runtime, or tokio-runtime"
8);
9
10#[cfg(all(feature = "glommio-runtime", not(target_os = "linux")))]
11compile_error!("glommio-runtime requires Linux");
12
13pub mod server;