#[cfg(all(feature = "runtime-compio", feature = "runtime-tokio"))]
compile_error!(
"monocoque: enable exactly one runtime backend, not both \
(`runtime-compio` or `runtime-tokio`)"
);
#[cfg(all(feature = "runtime-compio", feature = "runtime-smol"))]
compile_error!(
"monocoque: enable exactly one runtime backend, not both \
(`runtime-compio` or `runtime-smol`)"
);
#[cfg(all(feature = "runtime-tokio", feature = "runtime-smol"))]
compile_error!(
"monocoque: enable exactly one runtime backend, not both \
(`runtime-tokio` or `runtime-smol`)"
);
#[cfg(not(any(
feature = "runtime-compio",
feature = "runtime-tokio",
feature = "runtime-smol"
)))]
compile_error!(
"monocoque: no runtime backend selected; enable `runtime-compio` (default), \
`runtime-tokio`, or `runtime-smol`"
);
#[cfg(feature = "runtime-compio")]
#[path = "compio.rs"]
mod backend;
#[cfg(all(feature = "runtime-tokio", not(feature = "runtime-compio")))]
#[path = "tokio.rs"]
mod backend;
#[cfg(all(
feature = "runtime-smol",
not(feature = "runtime-compio"),
not(feature = "runtime-tokio")
))]
#[path = "smol.rs"]
mod backend;
pub use backend::*;