Releases · google/zerocopy
v0.8.40
26 Feb 21:20
Immutable release. Only release title and notes can be modified.
v0.8.39
05 Feb 23:56
Immutable release. Only release title and notes can be modified.
v0.8.38
03 Feb 17:50
Immutable release. Only release title and notes can be modified.
v0.8.37
30 Jan 17:33
Immutable release. Only release title and notes can be modified.
v0.8.36
29 Jan 18:12
Immutable release. Only release title and notes can be modified.
v0.8.35
28 Jan 03:26
Immutable release. Only release title and notes can be modified.
What's Changed
- [transmute] Remove
SizeEqsuper-trait bound by @joshlf in #2920 - [transmute] Remove some
SizeEqimpls by @joshlf in #2922 - Introduce
ProjectFieldtrait by @jswrenn in #2886 - [derive] In tests, assert hygiene of output by @joshlf in #2918
- Replace
unsafe_with_size_eq!withtransmute_withby @joshlf in #2923 - Introduce
ReadOnly<T>which is unconditionallyImmutableby @joshlf in #2866 - [transmute] Encode cast in
TryTransmuteFromPtrparams by @joshlf in #2921 - [projection] Clarify comment explaining fallibility by @joshlf in #2939
- [project] Support projecting enum tags by @joshlf in #2940
- Use
ReadOnlyinTryFromBytes::is_bit_validby @joshlf in #2873 - [derive] Allow
TryFromByteson non-Immutableunions by @joshlf in #2876 - [util]
usemore items to make code more concise by @joshlf in #2942 - Simplify
try_transmute!(and friends) internals by @joshlf in #2938
Full Changelog: v0.8.34...v0.8.35
v0.8.34
26 Jan 03:27
Immutable release. Only release title and notes can be modified.
What's Changed
- Generate trait implementations for tuples by @jswrenn in #2862
- Simplify MutationCompatible impls by @joshlf in #2877
- [derive] Refactor is_bit_valid tests by @joshlf in #2879
- [derive] Unify handling of #[allow] attributes by @joshlf in #2882
- Rename
HasField::projecttoHasField::project_rawby @jswrenn in #2884 - Introduce
HasField::project_innerby @jswrenn in #2885 - [derive] Fix unused variable bug in tests by @joshlf in #2891
- [derive] Rename module ext -> util by @joshlf in #2892
- Tighten impl of CastUnsized by @joshlf in #2887
- Simplify projection methods by @joshlf in #2895
- Fix stale comments by @joshlf in #2896
- [derive] Split repr(C) logic from derive_known_layout_inner by @joshlf in #2888
- [derive] Move find_zero_variant to enum module by @joshlf in #2889
- [derive] Introduce Ctx type by @joshlf in #2890
- [derive] Improve hygiene testing by @joshlf in #2898
- [derive] Factor out
core_reexportpath generation by @joshlf in #2899 - [derive] Refactor into more modules by @joshlf in #2901
- [derive] Store output test goldens in separate files by @joshlf in #2904
- [derive] Automatically bless output test output by @joshlf in #2905
- [cast] Fix safety comment bug for CastUnsized by @joshlf in #2908
- Clarify semantics of size-preserving transmutes by @joshlf in #2911
- Make SizeEq safe by @joshlf in #2907
- [tools] Remove now-obsolete
rm Cargo.lockby @joshlf in #2916 - [derive] Avoid ambiguities referring to associated items by @joshlf in #2917
New Contributors
- @salmanmkc made their first contribution in #2914
Full Changelog: v0.8.33...v0.8.34
v0.8.33
07 Jan 16:34
Immutable release. Only release title and notes can be modified.
v0.8.32
07 Jan 00:48
Immutable release. Only release title and notes can be modified.
What's Changed
- Add regression test for suppressing
private_boundslint inKnownLayoutderive by @google-labs-jules[bot] in #2791 - Add tests targeted at un-covered lines of code by @joshlf in #2833
- [ci] In check_todo.sh, permit disabling check by @joshlf in #2839
- [cargo-zerocopy] Auto-install env var toggle by @joshlf in #2840
- Add more instructions for coding agents by @joshlf in #2834
- Introduce
HasFieldtrait by @jswrenn in #2842 - [agents] Add instructions for reviewing by @joshlf in #2855
- Add
HasField::project; simplifyis_bit_validby @jswrenn in #2843 - [project] Distinguish structs/union/enums by @joshlf in #2857
- [derive] Document use of
Fieldtrait by @joshlf in #2865 - [pointer] Add generic projection/cast framework by @joshlf in #2860
- Optimize Ref<_, T> methods when T: Sized (#2752) by @bmberger in #2758
New Contributors
Full Changelog: v0.8.31...v0.8.32