write_zeroes and fill_zeroes functions: Writes (to one) or fills (a slice)
zero bytes to all bytes covered by the provided reference. If your type has
padding, this will even zero out the padding bytes.
align_offset feature: causes pointer alignment checks to use the
align_offset pointer method rather than as-casting the pointer to usize.
This may improve codegen, if the compiler would have otherwise thought that
the pointer address escaped. No formal benchmarks have been done either way.
must_cast feature: Adds must_* family of functions. These functions will
fail to compile if the cast requested can't be statically known to succeed.
The error messages can be kinda bad when this happens, but eliminating the
possibility of a runtime error might be worth it to you.
1.13.1
Remove the requirement for the source data type to be AnyBitPattern on
pod_collect_to_vec, allowing you to pod collect vecs of char into vecs of
u32, or whatever.
1.13
Now depends on bytemuck_derive-1.4.0
Various small enhancements that would have been patch version updates, but
which have been rolled into this minor version update.
1.12.4
This has additional impls for existing traits and cleans up some internal code,
but there's no new functions so I guess it counts as just a patch release.
1.12.3
This bugfix makes the crate do stuff with Arc or not based on the
target_has_atomic config. Previously, some targets that have allocation but
not atomics were getting errors. This raises the MSRV of the
extern_crate_alloc feature to 1.60, but opt-in features are not considered
to be hard locked to 1.34 like the basic build of the crate is.
1.12.2
Fixes try_pod_read_unaligned bug that made it always fail unless the target
type was exactly pointer sized in which case UB could happen. The
CheckedBitPattern::is_valid_bit_pattern was being asked to check that a
reference to the pod value was a valid bit pattern, rather than the actual
bit pattern itself, and so the check could in some cases be illegally
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the patch-updates group with 6 updates:
1.0.195
1.0.196
1.0.111
1.0.113
0.4.39
0.4.40
0.3.66
0.3.67
4.4.16
4.4.18
1.14.0
1.14.1
Updates
serde
from 1.0.195 to 1.0.196Release notes
Sourced from serde's releases.
Commits
ede9762
Release 1.0.196d438c2d
Merge pull request #2682 from dtolnay/decimalpointbef110b
Format Unexpected::Float with decimal pointb971ef1
Merge pull request #2681 from dtolnay/workspacedeps29d9f69
Fix workspace.dependencies default-features future compat warningaecb408
Sort workspace dependencies1c675ab
Merge pull request #2678 from rodoufu/workspaceDependenciesdd61963
Adding workspace dependencies111803a
Merge pull request #2673 from Sky9x/msrv-badge0024f74
Use shields.io's MSRV badgesUpdates
serde_json
from 1.0.111 to 1.0.113Release notes
Sourced from serde_json's releases.
Commits
09d865b
Release 1.0.1135aeab4e
Merge pull request #1109 from serde-rs/removeca3c2ca
Add swap_remove and shift_remove methods on Map7fece96
Release 1.0.1126a6d2bb
Merge pull request #1107 from serde-rs/unexpectedfloat83d7bad
Format f64 in error messages using ryu107c2d1
Merge pull request #1106 from serde-rs/invalidvalue62ca3e4
Handle Unexpected::Unit in Error::invalid_value296fafb
Factor out JSON-specific Display impl for serde::de::Unexpectede56cc69
Merge pull request #1105 from keienWang/masterUpdates
wasm-bindgen-futures
from 0.4.39 to 0.4.40Commits
Updates
web-sys
from 0.3.66 to 0.3.67Commits
Updates
clap
from 4.4.16 to 4.4.18Release notes
Sourced from clap's releases.
Changelog
Sourced from clap's changelog.
Commits
0134f45
chore: Release995ee03
docs: Update changelog2f18909
Merge pull request #5314 from epage/required0a635b9
fix(parser): Don't duplicate requireds when usage disablede648e08
Merge pull request #5311 from sourcefrog/doc-exitcode8c83971
docs: Link to exit code infob250c0b
Merge pull request #5310 from epage/ptyc742b8e
chore(complete): Update completest-ptyf524d84
chore: Release944fb81
docs: Update changelogUpdates
bytemuck
from 1.14.0 to 1.14.1Changelog
Sourced from bytemuck's changelog.
... (truncated)
Commits
1e1a22e
chore: Release bytemuck version 1.14.12ae1a14
changelog8dc32b1
Explicitly document that pod_read_unaligned and try_pod_read_unaligned don't ...085a5f5
Revise the crate-level docs.c705218
Added custom crate path with tests (#209)fd27a5b
Add from_box_bytes and box_bytes_of with BoxBytes type (#211)d10fbfc
allow derivingCheckedBitPattern
for enums with fields (#171)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 show