mirror of
https://github.com/Lokathor/bytemuck.git
synced 2024-11-21 22:32:23 +00:00
Update changelog.md (#96)
* Update changelog.md * Update changelog.md * Use the `5` instead of an `s`, because we're l33t
This commit is contained in:
parent
1fb245c926
commit
d8215fb95a
14
changelog.md
14
changelog.md
@ -1,5 +1,19 @@
|
|||||||
# `bytemuck` changelog
|
# `bytemuck` changelog
|
||||||
|
|
||||||
|
## 1.9.0
|
||||||
|
|
||||||
|
* [fu5ha](https://github.com/fu5ha) added the `NoUninit`, `AnyBitPattern`, and
|
||||||
|
`CheckedBitPattern` traits. This allows for a more fine-grained level of
|
||||||
|
detail in what casting operations are allowed for a type. Types that already
|
||||||
|
implement `Zeroable` and `Pod` will have a blanket impl for these new traits.
|
||||||
|
This is a "preview" of the direction that the crate will probably go in the
|
||||||
|
eventual 2.0 version. We're still waiting on [Project Safe
|
||||||
|
Transmute](https://github.com/rust-lang/project-safe-transmute) for an actual
|
||||||
|
2.0 version of the crate, but until then please enjoy this preview.
|
||||||
|
* Also Fusha added better support for `union` types in the derive macros. I
|
||||||
|
still don't know how any of the proc-macro stuff works at all, so please
|
||||||
|
direct questions to her.
|
||||||
|
|
||||||
## 1.8.0
|
## 1.8.0
|
||||||
|
|
||||||
* `try_pod_read_unaligned` and `pod_read_unaligned` let you go from `&[u8]` to
|
* `try_pod_read_unaligned` and `pod_read_unaligned` let you go from `&[u8]` to
|
||||||
|
Loading…
Reference in New Issue
Block a user