Skip to content

Commit 03c9122

Browse files
committed
update changelog with forgotten items
Signed-off-by: Benno Lossin <benno.lossin@proton.me>
1 parent 9cf831a commit 03c9122

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
- `Wrapper<T>` trait added for creating wrapper structs with a structurally pinned value.
1313
- `MaybeZeroable` derive macro to try to derive `Zeroable`, but not error if not all fields
1414
implement it.
15+
- `unsafe fn cast_[pin_]init()` functions to unsafely change the initialized type of an initializer
1516

1617
### Changed
1718

1819
- `InPlaceInit` now only exists when the `alloc` or `std` features are enabled
1920
- added support for visibility in `Zeroable` derive macro
2021
- added support for `union`s in `Zeroable` derive macro
22+
- renamed the crate from `pinned-init` to `pin-init` and `pinned-init-macro` to `pin-init-internal`
23+
24+
### Fixed
25+
26+
- `Zeroable` implementation for `Option<Box<T>>` & `Option<NonNull<T>>` to only allow `T: Sized`
27+
(soundness issue)
2128

2229
## [0.0.9] - 2024-12-02
2330

0 commit comments

Comments
 (0)