Releases: smol-rs/async-lock
Releases · smol-rs/async-lock
v3.4.0
v3.3.0
v3.2.0
v3.1.2
v3.1.1
v3.1.0
v3.0.0
v2.8.0
- Fix a bug where the
SemaphoreGuard::acquire_arc
future would busy wait under certain conditions (#42). - Add a
Semaphore::add_permits()
function to increase the number of available permits on the semaphore (#44). - Make
RwLockReadGuard
covariant over its lifetime (#45) - Add
RwLockReadGuardArc
,RwLockWriteGuardArc
, and other reference counted guards for theRwLock
type (#47). - Loosen the
Send
/Sync
bounds on certain future types (#48). - Fix UB caused by the
MutexGuardArc::source
function allowing the user to drop an object in a different thread than the one it was acquired in (#50). This is a breaking change, but in the name of soundness. Therefore it doesn't break any valid behavior. - Fix a bug where this crate would not compile properly on
wasm64
(#51).