Skip to content

Commit 1c8a0b7

Browse files
authored
Merge pull request #44 from Rust-for-Linux/dev/missing-changelog
update changelog with forgotten items
2 parents 9cf831a + 03c9122 commit 1c8a0b7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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)