dark-std 0.2.21

dark-std is an Implementation of asynchronous containers build on tokio. It uses a read-write separation design borrowed from Golang
Documentation
1
2
3
4
5
6
7
8
//! `parking_lot::Mutex` backend (default, enabled by the `parking-lot`
//! Cargo feature).

/// Lock used by the containers. Behaves like a mutex on `()`.
pub(crate) type SyncLock = parking_lot::Mutex<()>;

/// Guard returned by [`SyncLock::lock`]. Only ever held, never dereferenced.
pub(crate) type SyncLockGuard<'a> = parking_lot::MutexGuard<'a, ()>;