Sourced from bytemuck_derive's changelog.
bytemuck
changelog1.23.1
- Added a windows-only
ZeroableInOption
impl for "stdcall" functions.1.23
impl_core_error
crate feature addscore::error::Error
impl.- More
ZeroableInOption
impls.1.22
- Add the
pod_saturating
feature, which addsPod
impls forSaturating<T>
whenT
is alreadyPod
.- A bump in the minimum
bytemuck_derive
dependency from 1.4.0 to 1.4.1 to avoid a bug if you have a truly ancientcargo.lock
file sitting around.- Adds
Send
andSync
impls toBoxBytes
.1.21
- Implement
Pod
andZeroable
forcore::arch::{x86, x86_64}::__m512
,__m512d
and__m512i
without nightly. Requires Rust 1.72, and is gated through theavx512_simd
cargo feature.- Allow the use of
must_cast_mut
andmust_cast_slice_mut
in const contexts. Requires Rust 1.83, and is gated through themust_cast_extra
cargo feature.- internal: introduced the
maybe_const_fn
macro that allows defining some function to be const depending upon somecfg
predicate.1.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
.
... (truncated)