aboutsummaryrefslogtreecommitdiff
path: root/core/src/async_runtime/lock.rs
blob: fc84d1daec6ce083c4026651ddfdf12ac7255743 (plain)
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};