Sourced from once_cell's changelog.
Changelog
1.11
- Add
OnceCell::with_value
to create initializedOnceCell
at compile time.- Improve
Clone
implementation forOnceCell
.1.10
- upgrade
parking_lot
to0.12.0
(note that this bumps MSRV withparking_lot
feature enabled to1.49.0
).1.9
- Added an
atomic-polyfill
optional dependency to compilerace
on platforms without atomics1.8.0
- Add
try_insert
API -- a version ofset
that returns a reference.1.7.2
- Improve code size when using parking_lot feature.
1.7.1
- Fix
race::OnceBox<T>
to also implDefault
even ifT
doesn't implDefault
.1.7.0
- Hide the
race
module behind (default)race
feature. Turns out that addingrace
by default was a breaking change on some platforms without atomics. In this release, we make the module opt-out. Technically, this is a breaking change for those who userace
withno_default_features
. Given that therace
module itself only several days old, the breakage is deemed acceptable.1.6.0
- Add
Lazy::into_value
- Stabilize
once_cell::race
module for "first one wins" no_std-compatible initialization flavor.- Migrate from deprecated
compare_and_swap
tocompare_exchange
.1.5.2
OnceBox
API usesBox<T>
. This a breaking change to unstable API.1.5.1
- MSRV is increased to
1.36.0
.- document
once_cell::race
module.
... (truncated)
c3a3ede
Merge #174c3f11bb
Bump version and add a changelog entry for parking_lot upgrade.8737ec3
Upgrade parking_lot.64ef4a0
Merge #17299cc25c
Switch badge to GitHub Actions and remove outdated file references68b2d76
Merge #169abd4c78
Fix typodd8ff8a
Merge #1687a5fca7
doc: fix a typo