karyon_core/async_runtime/
lock.rs

1
2
3
4
5
#[cfg(feature = "smol")]
pub use smol::lock::{Mutex, MutexGuard, OnceCell, RwLock};

#[cfg(feature = "tokio")]
pub use tokio::sync::{Mutex, MutexGuard, OnceCell, RwLock};