• Home
  • Raw
  • Download

Lines Matching +full:test +full:- +full:msrv

5 -
9 - Add `race::OnceRef` for storing a `&'a T`.
13 - Add `no_std` implementation based on `critical-section`,
15 - Deprecate `atomic-polyfill` feature (use the new `critical-section` instead)
19 - Increase minimal supported Rust version to 1.56.0.
20 - Implement `UnwindSafe` even if the `std` feature is disabled.
24 - Add extension to `unsync` and `sync` `Lazy` mut API:
25 - `force_mut`
26 - `get_mut`
31 - Make implementation compliant with [strict provenance](https://github.com/rust-lang/rust/issues/9…
32 - Upgrade `atomic-polyfill` to `1.0`
36 - Add `Lazy::get`, similar to `OnceCell::get`.
40 - Remove incorrect `debug_assert`.
44 - Add `OnceCell::wait`, a blocking variant of `get`.
48 - Add `OnceCell::with_value` to create initialized `OnceCell` in `const` context.
49 - Improve `Clone` implementation for `OnceCell`.
50 - Rewrite `parking_lot` version on top of `parking_lot_core`, for even smaller cells!
54 - upgrade `parking_lot` to `0.12.0` (note that this bumps MSRV with `parking_lot` feature enabled t…
58 - Added an `atomic-polyfill` optional dependency to compile `race` on platforms without atomics
62 - Add `try_insert` API -- a version of `set` that returns a reference.
66 - Improve code size when using parking_lot feature.
70 - Fix `race::OnceBox<T>` to also impl `Default` even if `T` doesn't impl `Default`.
74 - Hide the `race` module behind (default) `race` feature.
76 In this release, we make the module opt-out.
82 - Add `Lazy::into_value`
83 - Stabilize `once_cell::race` module for "first one wins" no_std-compatible initialization flavor.
84 - Migrate from deprecated `compare_and_swap` to `compare_exchange`.
88 - `OnceBox` API uses `Box<T>`.
93 - MSRV is increased to `1.36.0`.
94 - document `once_cell::race` module.
95 - introduce `alloc` feature for `OnceBox`.
96 - fix `OnceBox::set`.
100 - add new `once_cell::race` module for "first one wins" no_std-compatible initialization flavor.
105 - upgrade `parking_lot` to `0.11.0`
106 - make `sync::OnceCell<T>` pass https://doc.rust-lang.org/nomicon/dropck.html#an-escape-hatch[dropc…
107 This fixes a (minor) semver-incompatible changed introduced in `1.4.0`
111 - upgrade `parking_lot` to `0.10` (note that this bumps MSRV with `parking_lot` feature enabled to …
112 - add `OnceCell::take`.
113 - upgrade crossbeam utils (private dependency) to `0.7`.
117 - remove unnecessary `F: fmt::Debug` bound from `impl fmt::Debug for Lazy<T, F>`.
121 - `Lazy<T>` now implements `DerefMut`.
122 - update implementation according to the latest changes in `std`.
126 - add `sync::OnceCell::get_unchecked`.
130 - implement `Default` for `Lazy`: it creates an empty `Lazy<T>` which is initialized with `T::defau…
131 - add `OnceCell::get_mut`.
135 - actually add `#![no_std]` attribute if std feature is not enabled.
139 - fix unsoundness in `Lazy<T>` if the initializing function panics. Thanks [@xfix](https://github.c…
140 - implement `RefUnwindSafe` for `Lazy`.
141 - share more code between `std` and `parking_lot` implementations.
142 - add F.A.Q section to the docs.
146 - remove `parking_lot` from the list of default features.
147 - add `std` default feature. Without `std`, only `unsync` module is supported.
148 - implement `Eq` for `OnceCell`.
149 - fix wrong `Sync` bound on `sync::Lazy`.
150 - run the whole test suite with miri.
154 - New implementation of `sync::OnceCell` if `parking_lot` feature is disabled.
155 It now employs a hand-rolled variant of `std::sync::Once`.
156 - `sync::OnceCell::get_or_try_init` works without `parking_lot` as well!
157 - document the effects of `parking_lot` feature: same performance but smaller types.
161 - Updated `Lazy`'s `Deref` impl to requires only `FnOnce` instead of `Fn`
165 - `Lazy` requires only `FnOnce` instead of `Fn`
169 - nicer `fmt::Debug` implementation
173 - update `parking_lot` to `0.9.0`
174 - fix stacked borrows violation in `unsync::OnceCell::get`
175 - implement `Clone` for `sync::OnceCell<T> where T: Clone`
179 - add `OnceCell::into_inner` which consumes a cell and returns an option
183 - implement `sync::OnceCell::get_or_try_init` if `parking_lot` feature is enabled
184 - switch internal `unsafe` implementation of `sync::OnceCell` from `Once` to `Mutex`
185 - `sync::OnceCell::get_or_init` is twice as fast if cell is already initialized
186 - implement `std::panic::RefUnwindSafe` and `std::panic::UnwindSafe` for `OnceCell`
187 - better document behavior around panics
191 - MSRV is now 1.31.1
192 - `Lazy::new` and `OnceCell::new` are now const-fns
193 - `unsync_lazy` and `sync_lazy` macros are removed
197 - update crossbeam-utils to 0.6
198 - enable bors-ng
202 - cells implement `PartialEq` and `From`
203 - MSRV is down to 1.24.1
204 - update `parking_lot` to `0.7.1`
208 - `unsync::OnceCell<T>` is `Clone` if `T` is `Clone`.
212 - No changelog until this point :(