mirror of
https://gitee.com/openharmony/third_party_rust_lazycell
synced 2024-11-23 15:40:34 +00:00
5.6 KiB
5.6 KiB
v1.2.1 (2018-12-03)
Features
- Implement Clone for LazyCell and AtomicLazyCell (30fe4a8f)
v1.2.0 (2018-09-19)
Features
- add
LazyCell::replace
for infallible access (a63ffb90)
v1.1.0 (2018-09-10)
Documentation
- add note regarding LazyCell::borrow_mut (9d634d1f)
- describe mutability more consistently (b8078029, closes #78)
Improvements
- add NONE constant for an empty AtomicLazyCell (31aff0da, closes #87)
- add
LazyCell::borrow_mut_with
andLazyCell::try_borrow_mut_with
(fdc6d268, closes #79, #80)
v1.0.0 (2018-06-06)
Features
- Add #![no_std] (e59f6b55)
0.6.0 (2017-11-25)
Bug Fixes
- fix soundness hole in borrow_with (d1f46bef)
Features
- add Default derives (71bc5088)
- add LazyCell::try_borrow_with (bffa4028)
- add LazyCell::borrow_mut method (fd419dea)
Breaking Changes
Improvements
v0.5.1 (2017-03-24)
Documentation
- fix missing backticks (44bafaaf)
Improvements
- derive
Debug
impls (9da0a5a2)
Features
- Add get method for Copy types (dc8f8209)
v0.5.0 (2016-12-08)
Features
- add borrow_with to LazyCell (a15efa35)
(2016-08-17)
Breaking Changes
Improvements
(2016-08-16)
Features
- add AtomicLazyCell which is thread-safe (85afbd36)
Improvements
- Use UnsafeCell instead of RefCell (3347a8e9)
(2016-04-18)
Documentation
- put types in between backticks (607cf939)
v0.2.0 (2016-03-28)
Features
- lazycell:
Documentation
- CHANGELOG: removed unnecessary sections (1cc0555d)
- README: add link to documentation (c8dc33f0, closes #13)
v0.1.0 (2016-03-16)
Features
- lib.rs: implement Default trait for LazyCell (150a6304)
v0.0.1 (2016-03-16)
Bug Fixes
- Cargo.toml: loosen restrictions on Clippy version (84dd8f96)