// runtime-async-std #[cfg(feature = "runtime-async-std")] pub type Arc = async_std::sync::Arc; #[cfg(feature = "runtime-async-std")] pub type Mutex = async_std::sync::Mutex; #[cfg(feature = "runtime-async-std")] pub use async_std::task::yield_now; // runtime-tokio #[cfg(feature = "runtime-tokio")] pub type Arc = std::sync::Arc; #[cfg(feature = "runtime-tokio")] pub type Mutex = tokio::sync::Mutex; #[cfg(feature = "runtime-tokio")] pub use tokio::task::yield_now;