1 | #[cfg(not(feature = "tokio"))] |
---|---|
2 | pub(crate) use async_lock::{Mutex, RwLock, RwLockReadGuard, RwLockWriteGuard}; |
3 | #[cfg(feature = "tokio")] |
4 | pub(crate) use tokio::sync::{Mutex, RwLock, RwLockReadGuard, RwLockWriteGuard}; |
5 |
1 | #[cfg(not(feature = "tokio"))] |
---|---|
2 | pub(crate) use async_lock::{Mutex, RwLock, RwLockReadGuard, RwLockWriteGuard}; |
3 | #[cfg(feature = "tokio")] |
4 | pub(crate) use tokio::sync::{Mutex, RwLock, RwLockReadGuard, RwLockWriteGuard}; |
5 |