Releases: google/zerocopy
Releases · google/zerocopy
v0.8.0-alpha.10
What's Changed
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1185
- Roll pinned toolchain versions on v0.7.x by @joshlf in #1190
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1195
- Fix bug in Kani roller by @joshlf in #1193
- Use
AlignmentError
inUnalign
's failure conditions by @jswrenn in #1198 - [ci] Roll pinned nightly toolchain by @joshlf in #1202
- [
build.rs
] Supportunexpected_cfgs
lint by @joshlf in #1204 - [derive] Make some pub items pub(crate) by @joshlf in #1205
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1207
- [CI] Bump actions/checkout from 4.1.4 to 4.1.5 by @dependabot in #1208
- [pointer] Ptr::try_cast_into returns two Ptrs by @joshlf in #1161
- [derive][tests] Test IntoBytes failure #1182 by @joshlf in #1186
- [FromBytes] Rename some methods for consistency by @joshlf in #1210
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1213
- [CI] Bump github/codeql-action from 3.25.3 to 3.25.4 by @dependabot in #1214
- Document
IntoByteSlice
safety invariants by @jswrenn in #1215 - Move
Ref
to its own module by @joshlf in #1216 - [ci] Roll pinned Kani version by @google-pr-creation-bot in #1220
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1222
- [ref] Move
Ref
definition into its own module by @joshlf in #1218 - Add
TryFromBytes
prefix/suffix conversion methods by @jswrenn in #1072 - [pointer] Relax UnsafeCell requirements by @joshlf in #1211
- Add
AliasingSafe
framework by @joshlf in #1224 - Remove Immutable where it's no longer needed by @joshlf in #1225
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1231
- [CI] Bump ossf/scorecard-action from 2.3.1 to 2.3.3 by @dependabot in #1232
- [ci] Publish
cargo doc
to GitHub Pages by @joshlf in #1227 - Add missing copyright header comments by @joshlf in #1229
- [CI] Bump actions/configure-pages from 4 to 5 by @dependabot in #1233
- Factor out some duplicated code in FromBytes by @joshlf in #1234
- Release 0.8.0-alpha.10 by @google-pr-creation-bot in #1235
Full Changelog: v0.8.0-alpha.9...v0.8.0-alpha.10
v0.7.34
What's Changed
- [ci] Pin Kani version by @joshlf in #1189
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1194
- [ci] Roll pinned nightly toolchain by @joshlf in #1203
- [Backport] Set manifest keywords and categories by @jswrenn in #1043
Full Changelog: v0.7.33...v0.7.34
v0.7.33
v0.8.0-alpha.9
What's Changed
- Release 0.8.0-alpha by @joshlf in #681
- Initial commit of
NoCell
by @joshlf in #656 - [derive] Support deriving
NoCell
by @joshlf in #667 - Use KnownLayout to construct and operate on Refs by @joshlf in #678
- [CI] Bump github/codeql-action from 2.22.8 to 2.22.9 by @dependabot in #685
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #684
- Rename
FromZeroes
toFromZeros
by @jswrenn in #430 - [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #690
- [ci] Roll pinned stable toolchain by @google-pr-creation-bot in #691
- [derive] Support
derive(TryFromBytes)
for structs by @jswrenn in #665 - [readme] Link to GitHub Releases by @joshlf in #692
- Traits other than
NoCell
permitUnsafeCell
s by @joshlf in #682 - Release 0.8.0-alpha.1 by @joshlf in #698
- [tests] Fix UI tests with missing imports by @joshlf in #706
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #711
- [issues] Add "Customer request" template by @joshlf in #708
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #713
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #717
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #718
- [CI] Bump github/codeql-action from 2.22.9 to 2.22.10 by @dependabot in #719
- [ci] check all-jobs-succeed depends on all jobs by @tommy-gilligan in #720
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #729
- [CI] Bump github/codeql-action from 2.22.10 to 3.22.11 by @dependabot in #730
- Rename
AsBytes
toIntoBytes
by @joshlf in #700 - [docs] Add yank log by @joshlf in #732
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #734
- [CI] Bump actions/upload-artifact from 3.1.3 to 4.0.0 by @dependabot in #735
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #736
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #737
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #739
- [docs] Link to customer request issue template by @joshlf in #738
- [yanks] Document yanks for #716 by @joshlf in #733
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #740
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #741
- [derive] Exclude large test files when publishing by @joshlf in #743
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #745
- [CI] Bump github/codeql-action from 3.22.11 to 3.22.12 by @dependabot in #747
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #746
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #748
- [ci] Use pinned nightly for cargo-semver-checks by @joshlf in #753
- [doc] fix doc_cfg feature name of new_vec_zeroed by @Lencerf in #750
- Pin transitive dep
cargo-platform
for MSRV by @jswrenn in #757 - Fix soundness hole in Ref::into_ref and into_mut (#721) by @joshlf in #755
- [ci] Roll pinned stable toolchain by @google-pr-creation-bot in #760
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #761
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #762
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #763
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #764
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #766
- [CI] Bump actions/dependency-review-action from 3.1.4 to 3.1.5 by @dependabot in #767
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #768
- [CI] Bump github/codeql-action from 3.22.12 to 3.23.0 by @dependabot in #771
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #769
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #770
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #772
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #773
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #774
- [CI] Bump model-checking/kani-github-action from 1.0 to 1.1 by @dependabot in #776
- [CI] Bump Swatinem/rust-cache from 2.7.1 to 2.7.2 by @dependabot in #777
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #778
- [CI] Bump actions/cache from 3.3.2 to 3.3.3 by @dependabot in #779
- [CI] Bump actions/upload-artifact from 4.0.0 to 4.1.0 by @dependabot in #783
- [CI] Bump Swatinem/rust-cache from 2.7.2 to 2.7.3 by @dependabot in #784
- [CI] Bump actions/cache from 3.3.3 to 4.0.0 by @dependabot in #787
- [CI] Bump github/codeql-action from 3.23.0 to 3.23.1 by @dependabot in #789
- [CI] Bump actions/dependency-review-action from 3.1.5 to 4.0.0 by @dependabot in #790
- Invariant-parameterize
Ptr
and makeis_bit_valid
safe by @jswrenn in #699 - [byteorder] Remove byteorder feature and crate dep by @joshlf in #583
- [doc] Test
cargo doc
under--no-default-features
by @joshlf in #537 - [CI] Bump actions/upload-artifact from 4.1.0 to 4.2.0 by @dependabot in #793
- Support
derive(TryFromBytes)
onpacked
structs by @jswrenn in #794 - Add at-least-as-strict-as bounds to
Ptr
invariant system by @jswrenn in #798 - Implement
TryFromBytes
for[T; N]
by @jswrenn in #799 - [derive] Derive TryFromBytes on unions by @jswrenn in #800
- [ci] Fix missing UI test checks in CI by @jswrenn in #797
- [derive] FromZeros requires repr on unit-only enums by @joshlf in #802
- [derive] Rename is_c_like -> is_fieldless by @joshlf in #804
- [derive] Support TryFromBytes on field-less enums by @joshlf in #803
- Add TryFromBytes::try_read_from by @joshlf in #808
- [derive] TryFromBytes on repr(C) enums by @joshlf in #806
- [ci] Separately track MSRV and MWRV by @joshlf in #810
- [CI] Bump actions/upload-artifact from 4.2.0 to 4.3.0 by @dependabot in #813
- Revert "[ci] Separately track MSRV and MWRV" by @joshlf in #811
- Lower our MSRV to 1.59.0 by @joshlf in #791
- [CI] Bump obi1kenobi/cargo-semver-checks-action from 2.2 to 2.3 by @dependabot in #819
- [CI] Bump github/codeql-action from 3.23.1 to 3.23.2 by @dependabot in #823
- [byteorder] Implement TryFromBytes by @joshlf in #824
- [CI] Bump peter-evans/create-pull-request from 5.0.2 to 6.0.0 by @dependabot in #828
- [CI] Bump step-security/harden-runner from 2.6.1 to 2.7.0 by @dependabot in #829
- Add implementation of
padding_needed_for
by @ezrosent in #830 - [util] Use new padding_needed_for implementation by @joshlf in https://github.com/goog...
v0.8.0-alpha.8
What's Changed
- Release 0.8.0-alpha by @joshlf in #681
- Initial commit of
NoCell
by @joshlf in #656 - [derive] Support deriving
NoCell
by @joshlf in #667 - Use KnownLayout to construct and operate on Refs by @joshlf in #678
- [CI] Bump github/codeql-action from 2.22.8 to 2.22.9 by @dependabot in #685
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #684
- Rename
FromZeroes
toFromZeros
by @jswrenn in #430 - [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #690
- [ci] Roll pinned stable toolchain by @google-pr-creation-bot in #691
- [derive] Support
derive(TryFromBytes)
for structs by @jswrenn in #665 - [readme] Link to GitHub Releases by @joshlf in #692
- Traits other than
NoCell
permitUnsafeCell
s by @joshlf in #682 - Release 0.8.0-alpha.1 by @joshlf in #698
- [tests] Fix UI tests with missing imports by @joshlf in #706
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #711
- [issues] Add "Customer request" template by @joshlf in #708
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #713
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #717
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #718
- [CI] Bump github/codeql-action from 2.22.9 to 2.22.10 by @dependabot in #719
- [ci] check all-jobs-succeed depends on all jobs by @tommy-gilligan in #720
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #729
- [CI] Bump github/codeql-action from 2.22.10 to 3.22.11 by @dependabot in #730
- Rename
AsBytes
toIntoBytes
by @joshlf in #700 - [docs] Add yank log by @joshlf in #732
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #734
- [CI] Bump actions/upload-artifact from 3.1.3 to 4.0.0 by @dependabot in #735
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #736
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #737
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #739
- [docs] Link to customer request issue template by @joshlf in #738
- [yanks] Document yanks for #716 by @joshlf in #733
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #740
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #741
- [derive] Exclude large test files when publishing by @joshlf in #743
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #745
- [CI] Bump github/codeql-action from 3.22.11 to 3.22.12 by @dependabot in #747
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #746
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #748
- [ci] Use pinned nightly for cargo-semver-checks by @joshlf in #753
- [doc] fix doc_cfg feature name of new_vec_zeroed by @Lencerf in #750
- Pin transitive dep
cargo-platform
for MSRV by @jswrenn in #757 - Fix soundness hole in Ref::into_ref and into_mut (#721) by @joshlf in #755
- [ci] Roll pinned stable toolchain by @google-pr-creation-bot in #760
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #761
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #762
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #763
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #764
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #766
- [CI] Bump actions/dependency-review-action from 3.1.4 to 3.1.5 by @dependabot in #767
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #768
- [CI] Bump github/codeql-action from 3.22.12 to 3.23.0 by @dependabot in #771
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #769
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #770
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #772
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #773
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #774
- [CI] Bump model-checking/kani-github-action from 1.0 to 1.1 by @dependabot in #776
- [CI] Bump Swatinem/rust-cache from 2.7.1 to 2.7.2 by @dependabot in #777
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #778
- [CI] Bump actions/cache from 3.3.2 to 3.3.3 by @dependabot in #779
- [CI] Bump actions/upload-artifact from 4.0.0 to 4.1.0 by @dependabot in #783
- [CI] Bump Swatinem/rust-cache from 2.7.2 to 2.7.3 by @dependabot in #784
- [CI] Bump actions/cache from 3.3.3 to 4.0.0 by @dependabot in #787
- [CI] Bump github/codeql-action from 3.23.0 to 3.23.1 by @dependabot in #789
- [CI] Bump actions/dependency-review-action from 3.1.5 to 4.0.0 by @dependabot in #790
- Invariant-parameterize
Ptr
and makeis_bit_valid
safe by @jswrenn in #699 - [byteorder] Remove byteorder feature and crate dep by @joshlf in #583
- [doc] Test
cargo doc
under--no-default-features
by @joshlf in #537 - [CI] Bump actions/upload-artifact from 4.1.0 to 4.2.0 by @dependabot in #793
- Support
derive(TryFromBytes)
onpacked
structs by @jswrenn in #794 - Add at-least-as-strict-as bounds to
Ptr
invariant system by @jswrenn in #798 - Implement
TryFromBytes
for[T; N]
by @jswrenn in #799 - [derive] Derive TryFromBytes on unions by @jswrenn in #800
- [ci] Fix missing UI test checks in CI by @jswrenn in #797
- [derive] FromZeros requires repr on unit-only enums by @joshlf in #802
- [derive] Rename is_c_like -> is_fieldless by @joshlf in #804
- [derive] Support TryFromBytes on field-less enums by @joshlf in #803
- Add TryFromBytes::try_read_from by @joshlf in #808
- [derive] TryFromBytes on repr(C) enums by @joshlf in #806
- [ci] Separately track MSRV and MWRV by @joshlf in #810
- [CI] Bump actions/upload-artifact from 4.2.0 to 4.3.0 by @dependabot in #813
- Revert "[ci] Separately track MSRV and MWRV" by @joshlf in #811
- Lower our MSRV to 1.59.0 by @joshlf in #791
- [CI] Bump obi1kenobi/cargo-semver-checks-action from 2.2 to 2.3 by @dependabot in #819
- [CI] Bump github/codeql-action from 3.23.1 to 3.23.2 by @dependabot in #823
- [byteorder] Implement TryFromBytes by @joshlf in #824
- [CI] Bump peter-evans/create-pull-request from 5.0.2 to 6.0.0 by @dependabot in #828
- [CI] Bump step-security/harden-runner from 2.6.1 to 2.7.0 by @dependabot in #829
- Add implementation of
padding_needed_for
by @ezrosent in #830 - [util] Use new padding_needed_for implementation by @joshlf in https://github.com/goog...
v0.8.0-alpha.7
What's Changed
- Make old names errors instead of warnings by @joshlf in #980
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #981
- [CI] Bump github/codeql-action from 3.24.5 to 3.24.6 by @dependabot in #982
- Restructure crate-level 'Overview' documentation by @jswrenn in #983
- Document
Unaligned
by @jswrenn in #984 - Add deprecated IntoBytes::as_bytes_mut by @joshlf in #987
- Consolodate and improve use of old names by @joshlf in #990
- Implement Copy and Clone for Ref by @joshlf in #989
- Document
KnownLayout
by @jswrenn in #988 - Split ByteSlice and SplitByteSlice by @joshlf in #991
- Deprecate more Ref constructors by @joshlf in #997
- Delevel headers in crate-level documentation by @jswrenn in #1000
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1005
- Remove underscores from now-used item names by @joshlf in #1004
- Annotate public macros/functions with
#[must_use]
by @joshlf in #1003 - Remove post-monomorphization compile-fail tests by @joshlf in #1006
- Remove unnecessary Ptr "assume" calls by @joshlf in #1002
- [wrappers] Replace some
unsafe
code withPtr
by @joshlf in #1007 - [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1008
- Impl traits for TransparentWrapper types safely by @joshlf in #1001
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1012
- Implement
TransparentWrapper
for atomic types by @joshlf in #1011 - Document const-ness of
transmute(_*)!
macros by @jswrenn in #1019 - [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1020
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #1023
- TransparentWrapper supports UnsafeCell variance by @joshlf in #1024
- Implement
TransparentWrapper
forUnsafeCell
by @joshlf in #1025 - Release 0.8.0-alpha.7 by @joshlf in #1027
Full Changelog: v0.8.0-alpha.6...v0.8.0-alpha.7
v0.8.0-alpha.6
What's Changed
- Renamed
as_bytes_mut
toas_mut_bytes
by @dorryspears in #870 - Add caching dupe change by @dorryspears in #835
- Add git pre-push hook by @tommy-gilligan in #728
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #875
- [CI] Bump actions/dependency-review-action from 4.0.0 to 4.1.0 by @dependabot in #877
- [CI] Bump github/codeql-action from 3.24.0 to 3.24.1 by @dependabot in #876
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #880
- [CI] Bump github/codeql-action from 3.24.1 to 3.24.3 by @dependabot in #881
- derive: generalize
require_self_sized
by @jswrenn in #883 - [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #887
- [derive] Disable prelude when testing; fix bugs by @joshlf in #886
- TryFromBytes for MaybeUninit requires T: NoCell by @joshlf in #889
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #895
- Remove unsound
Ptr::forget_valid
by @jswrenn in #898 - [
TryFromBytes
] PermitUnsafeCells
by @jswrenn in #890 - Relax type bounds in Ptr::from_maybe_uninit_ref by @joshlf in #900
- [ptr] Clean up prose for field invariants by @joshlf in #901
- Add TryFromBytes::try_from_mut by @joshlf in #892
- Implement
<Unalign as TryFromBytes>::is_bit_valid
by @joshlf in #903 - Implement TryFromBytes for Option for fn types by @joshlf in #904
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #908
- [ptr] Fix soundness hole in "at least" invariants by @joshlf in #909
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #910
- [CI] Bump actions/dependency-review-action from 4.1.0 to 4.1.1 by @dependabot in #911
- [ptr] Relax some method bounds by @joshlf in #902
- [CI] Bump actions/dependency-review-action from 4.1.1 to 4.1.2 by @dependabot in #916
- Roll pinned nightly toolchain by @joshlf in #917
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #920
- [CI] Bump actions/dependency-review-action from 4.1.2 to 4.1.3 by @dependabot in #921
- [CI] Bump github/codeql-action from 3.24.3 to 3.24.4 by @dependabot in #923
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #922
- [ci] Test Git hooks by @joshlf in #919
- Convert shell scripts to Rust by @djkoloski in #891
- Support testing TryFromBytes for !NoCell types by @joshlf in #924
- [ci] Pin Kani to last known-good version by @joshlf in #930
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #927
- [CI] Bump github/codeql-action from 3.24.4 to 3.24.5 by @dependabot in #928
- [derive] Automatically derive super-traits by @joshlf in #926
- [ci] Automatically roll pinned Kani version by @joshlf in #931
- [derive] Use macro to generate some scaffolding by @joshlf in #937
- [ci] Roll Kani version to 0.47.0 by @joshlf in #939
- [ci][generate_cache] Run steps in parallel by @joshlf in #940
- [derive] Support deriving deprecated AsBytes by @joshlf in #938
- [githooks][pre-push] Run steps in parallel by @joshlf in #942
- [ci] Run
cargo fix
when rolling toolchains by @joshlf in #943 - Fix alignment bug in test_impls by @joshlf in #944
- Use Box instead of &T in test_impls success cases by @joshlf in #945
- Implement TryFromBytes for UnsafeCell by @joshlf in #912
- Make Ptr::reborrow public by @joshlf in #949
- Fix some uses of FromBytes and NoCell in doc tests by @joshlf in #950
- Fix UI tests by @joshlf in #951
- [derive] Fix UI tests by @joshlf in #954
- Fix some uses of NoCell in doc tests by @joshlf in #956
- Fix Clippy lints by @joshlf in #957
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #959
- [cargo-zerocopy] Pass failure return codes through by @djkoloski in #948
- Implement
PartialOrd
andOrd
where possible by @00xc in #915 - Disable re-exporting renamed traits in dev and CI by @joshlf in #961
- [CI] Bump peter-evans/create-pull-request from 6.0.0 to 6.0.1 by @dependabot in #965
- [ptr] Add TransparentWrapper by @joshlf in #958
- Add
IntoByteSlice
trait, use as bound forinto_ref
by @joshlf in #966 - Add
KnownLayout
, removeSized
from some APIs by @joshlf in #967 - Use KnownLayout in more APIs by @joshlf in #970
- Deprecate some
Ref
methods in favor ofKnownLayout
by @joshlf in #971 - [githooks/pre-push] Fail when sub-command fails by @joshlf in #969
- [ci] Pass dev and CI
--cfg
when rolling toolchain by @joshlf in #973 - Document
TryFromBytes
by @jswrenn in #974 - [ci] Roll pinned nightly toolchain by @joshlf in #975
- Make TryFromBytes a super-trait of FromZeros by @joshlf in #952
- Make TryFromBytes methods not #[doc(hidden)] by @joshlf in #976
- Document
NoCell
by @jswrenn in #977 - Deprecate FromBytes::slice_from by @joshlf in #978
- Release 0.8.0-alpha.6 by @joshlf in #979
New Contributors
- @dorryspears made their first contribution in #870
- @00xc made their first contribution in #915
Full Changelog: v0.8.0-alpha.5...v0.8.0-alpha.6
v0.8.0-alpha.5
What's Changed
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #849
- Lower MSRV to 1.57 by @joshlf in #848
- [ci] Check with tests by @joshlf in #852
- [byteorder] Make some methods const by @joshlf in #851
- Introduce
invariant::Initialized
and migrateMaybe
to it by @jswrenn in #853 - [testutil] Downgrade to edition 2018 by @joshlf in #856
- [ci] Roll pinned stable toolchain by @google-pr-creation-bot in #858
- Implement
TryFromBytes
for pointers by @jswrenn in #854 - Implement
TryFromBytes
for more types by @joshlf in #817 - Lower MSRV to 1.56 by @joshlf in #855
- Roll nightly toolchain by @joshlf in #865
- [derive] Support IntoBytes on some generic structs by @joshlf in #862
- [doc] TryFromBytes, IntoBytes aren't symmetrical by @joshlf in #860
- Release 0.8.0-alpha.5 by @joshlf in #869
Full Changelog: v0.8.0-alpha.4...v0.8.0-alpha.5
v0.8.0-alpha.4
What's Changed
- [CI] Bump github/codeql-action from 3.23.2 to 3.24.0 by @dependabot in #840
- [CI] Bump actions/upload-artifact from 4.3.0 to 4.3.1 by @dependabot in #842
- Roll nightly toolchain by @joshlf in #845
- Support arbitrary toolchain versions in
build.rs
by @joshlf in #843 - Roll nightly toolchain by @joshlf in #846
Full Changelog: v0.8.0-alpha.3...v0.8.0-alpha.4
v0.8.0-alpha.3
What's Changed
- [ci] Roll pinned stable toolchain by @google-pr-creation-bot in #760
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #761
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #762
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #763
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #764
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #766
- [CI] Bump actions/dependency-review-action from 3.1.4 to 3.1.5 by @dependabot in #767
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #768
- [CI] Bump github/codeql-action from 3.22.12 to 3.23.0 by @dependabot in #771
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #769
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #770
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #772
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #773
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #774
- [CI] Bump model-checking/kani-github-action from 1.0 to 1.1 by @dependabot in #776
- [CI] Bump Swatinem/rust-cache from 2.7.1 to 2.7.2 by @dependabot in #777
- [ci] Roll pinned nightly toolchain by @google-pr-creation-bot in #778
- [CI] Bump actions/cache from 3.3.2 to 3.3.3 by @dependabot in #779
- [CI] Bump actions/upload-artifact from 4.0.0 to 4.1.0 by @dependabot in #783
- [CI] Bump Swatinem/rust-cache from 2.7.2 to 2.7.3 by @dependabot in #784
- [CI] Bump actions/cache from 3.3.3 to 4.0.0 by @dependabot in #787
- [CI] Bump github/codeql-action from 3.23.0 to 3.23.1 by @dependabot in #789
- [CI] Bump actions/dependency-review-action from 3.1.5 to 4.0.0 by @dependabot in #790
- Invariant-parameterize
Ptr
and makeis_bit_valid
safe by @jswrenn in #699 - [byteorder] Remove byteorder feature and crate dep by @joshlf in #583
- [doc] Test
cargo doc
under--no-default-features
by @joshlf in #537 - [CI] Bump actions/upload-artifact from 4.1.0 to 4.2.0 by @dependabot in #793
- Support
derive(TryFromBytes)
onpacked
structs by @jswrenn in #794 - Add at-least-as-strict-as bounds to
Ptr
invariant system by @jswrenn in #798 - Implement
TryFromBytes
for[T; N]
by @jswrenn in #799 - [derive] Derive TryFromBytes on unions by @jswrenn in #800
- [ci] Fix missing UI test checks in CI by @jswrenn in #797
- [derive] FromZeros requires repr on unit-only enums by @joshlf in #802
- [derive] Rename is_c_like -> is_fieldless by @joshlf in #804
- [derive] Support TryFromBytes on field-less enums by @joshlf in #803
- Add TryFromBytes::try_read_from by @joshlf in #808
- [derive] TryFromBytes on repr(C) enums by @joshlf in #806
- [ci] Separately track MSRV and MWRV by @joshlf in #810
- [CI] Bump actions/upload-artifact from 4.2.0 to 4.3.0 by @dependabot in #813
- Revert "[ci] Separately track MSRV and MWRV" by @joshlf in #811
- Lower our MSRV to 1.59.0 by @joshlf in #791
- [CI] Bump obi1kenobi/cargo-semver-checks-action from 2.2 to 2.3 by @dependabot in #819
- [CI] Bump github/codeql-action from 3.23.1 to 3.23.2 by @dependabot in #823
- [byteorder] Implement TryFromBytes by @joshlf in #824
- [CI] Bump peter-evans/create-pull-request from 5.0.2 to 6.0.0 by @dependabot in #828
- [CI] Bump step-security/harden-runner from 2.6.1 to 2.7.0 by @dependabot in #829
- Add implementation of
padding_needed_for
by @ezrosent in #830 - [util] Use new padding_needed_for implementation by @joshlf in #833
New Contributors
Full Changelog: v0.8.0-alpha.2...v0.8.0-alpha.3