async_compatibility_layer/
lib.rs1#[cfg(all(async_executor_impl = "async-std", async_executor_impl = "tokio"))]
7std::compile_error!(
8 "Both cfg options \"async-std\" and \"tokio\" must not be concurrently enabled for this crate."
9);
10
11#[cfg(not(async_executor_impl = "tokio"))]
13#[path = "art/async-std.rs"]
14pub mod art;
15
16#[cfg(async_executor_impl = "tokio")]
18#[path = "art/tokio.rs"]
19pub mod art;
20
21pub mod channel;
22
23pub mod async_primitives;
24
25#[cfg(feature = "logging-utils")]
26pub mod logging;