This minor version bump is caused by a version bump in our bytemuck_derive
dependency, which is in turn caused by a mixup in the minimum version of syn
that bytemuck_derive uses. See Issue
122. There's not any
specific "new" API as you might normally expect from a minor version bump.
pali fixed a problem with SPIR-V builds being
broken. The error handling functions were trying to be generic over Display,
which the error types normally support, except on SPIR-V targets (which run on
the GPU and don't have text formatting).
1.11
WaffleLapkin added wrap_box and peel_box
to the TransparentWrapperAlloc trait. Default impls of these functions are
provided, and (as usual with the transparent trait stuff) you should not override
the default versions.
1.10
TheEdward162 added the ZeroableInOption
and PodInOption traits. These are for types that are Zeroable or Podwhen in an option, but not on their own. We provide impls for the various
"NonZeroINTEGER" types in core, and if you need to newtype a NonZero value
then you can impl these traits when you use repr(transparent).
1.9.1
Bumped the minimum bytemuck_derive dependency version from 1.0 to 1.1.
The fact that bytemuck and bytemuck_derive are separate crates at all is
an unfortunate technical limit of current Rust, woe and calamity.
1.9.0
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 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.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps bytemuck from 1.11.0 to 1.12.0.
Changelog
Sourced from bytemuck's changelog.
... (truncated)
Commits
995205d
version bumpfd6b212
Update the readme to reflect the project status as of 2022-august9ea5f65
add a note about intended MSRV of the derives (none!)f053800
bump bytemuck_derive version with changelog1ebf7c2
Cleanup: use a macro for reprs, use syn errors & fix cfg-target-arch (#124)bbd6a92
fix something_went_wrong on spirv (#125)2c97676
support derivingPod
for packed generic types. (#123)331762b
runcargo fmt
(#120)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)