File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments