Sourced from bytemuck's changelog.
bytemuck
changelog1.20
- New functions to allocate zeroed
Arc
andRc
. Requires Rust 1.82TransparentWrapper
impls forcore::cmp::Reverse
andcore::num::Saturating
.- internal: Simplified the library's
fill_zeroes
calls towrite_bytes
1.19
- Adds the
#[track_caller]
attribute to functions which may panic.1.18
- Adds the
latest_stable_rust
cargo feature, which is a blanket feature that turns all other features on that are both sound and compatible with Stable rust.1.17.1
- Adds
#[repr(C)]
to theunion Transmute<A, B>
type that's used internally for most of the transmutations.1.17.0
- Makes the
must_cast
versions of the by-value and by-ref casts beconst
. The mut ref cast is unaffected for now (mut references aren't yet stable inconst fn
). This increases the MSRV of using that particular feature from 1.57 to 1.64.1.16.3
- Fully described in Lokathor/bytemuck#256, This makes casting slices to/from ZST elements more consistent between the crate's core module and other modules.
1.16.2
- Fixes potential UB where
BoxBytes
could attempt to free a dangling pointer if theLayout
is zero sized. This type was introduced in 1.14.1, so that version and the others up to and including 1.16.1 are now yanked for safety.1.16.1
- NOT SEMVER SUPPORTED: Adds the
nightly_float
Cargo feature. This activates thef16
andf128
nightly features, and then providesZeroable
andPod
impls for those types.1.16.0
- Adds a
const_zeroed
feature (MSRV 1.75) which puts azeroed
fn at the crate root. This is just like theZeroable::zeroed
method, but as aconst fn
.
... (truncated)
9bf993b
chore: Release bytemuck version 1.20.00a995ff
changelog1400815
Improve fill_zeroes
' use of ptr::write_bytes
(#284)13f4ae0
Add functions to allocate zeroed Arc
and Rc
(#283)af8d110
More TransparentWrapper
impls
(core::cmp::Reverse
and `core::num::Saturat...79a15d0
Remove incorrect spanned quote usage (#279)