- update
parking_lot
to0.9.0
- fix stacked borrows violation in
unsync::OnceCell::get
- implement
Clone
forsync::OnceCell<T> where T: Clone
- add
OnceCell::into_inner
which consumes a cell and returns an option
- implement
sync::OnceCell::get_or_try_init
ifparking_lot
feature is enabled - switch internal
unsafe
implementation ofsync::OnceCell
fromOnce
toMutex
sync::OnceCell::get_or_init
is twice as fast if cell is already initialized- implement
std::panic::RefUnwindSafe
andstd::panic::UnwindSafe
forOnceCell
- better document behavior around panics
- MSRV is now 1.31.1
Lazy::new
andOnceCell::new
are now const-fnsunsync_lazy
andsync_lazy
macros are removed
- update crossbeam-utils to 0.6
- enable bors-ng
- cells implement
PartialEq
andFrom
- MSRV is down to 1.24.1
- update
parking_lot
to0.7.1
unsync::OnceCell<T>
isClone
ifT
isClone
.
- No changelog until this point :(