mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Auto merge of #27831 - servo:dependabot/cargo/bytemuck-1.4.1, r=jdm
Bump bytemuck from 1.2.0 to 1.4.1 Bumps [bytemuck](https://github.com/Lokathor/bytemuck) from 1.2.0 to 1.4.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Lokathor/bytemuck/blob/main/changelog.md">bytemuck's changelog</a>.</em></p> <blockquote> <h2>1.4.1</h2> <ul> <li><a href="https://github.com/thomcc">thomcc</a> fixed up the CI and patched over a soundness hole in <code>offset_of!</code>. <a href="https://github-redirect.dependabot.com/Lokathor/bytemuck/pull/38">PR 38</a></li> </ul> <h2>1.4</h2> <ul> <li><a href="https://github.com/icewind1991">icewind1991</a> has contributed the proc-macros for deriving impls of <code>Pod</code>, <code>TransparentWrapper</code>, <code>Zeroable</code>!! Everyone has been waiting for this one folks! It's a big deal. Just enable the <code>derive</code> cargo feature and then you'll be able to derive the traits on your types. It generates all the appropriate tests for you.</li> <li>The <code>zeroable_maybe_uninit</code> feature now adds a <code>Zeroable</code> impl to the <code>MaybeUninit</code> type. This is only behind a feature flag because <code>MaybeUninit</code> didn't exist back in <code>1.34.0</code> (the minimum rust version of <code>bytemuck</code>).</li> </ul> <h2>1.3.1</h2> <ul> <li>The entire crate is now available under the <code>Apache-2.0 OR MIT</code> license as well as the previous <code>Zlib</code> license <a href="https://github-redirect.dependabot.com/Lokathor/bytemuck/pull/24">#24</a>.</li> <li><a href="https://github.com/HeroicKatora">HeroicKatora</a> added the <code>try_zeroed_slice_box</code> function <a href="https://github-redirect.dependabot.com/Lokathor/bytemuck/pull/17">#10</a>. <code>zeroed_slice_box</code> is also available.</li> <li>The <code>offset_of!</code> macro now supports a 2-arg version. For types that impl Default, it'll just make an instance using <code>default</code> and then call over to the 3-arg version.</li> <li>The <code>PodCastError</code> type now supports <code>Hash</code> and <code>Display</code>. Also if you enable the <code>extern_crate_std</code> feature then it will support <code>std::error::Error</code>.</li> <li>We now provide a <code>TransparentWrapper<T></code> impl for <code>core::num::Wrapper<T></code>.</li> <li>The error type of <code>try_from_bytes</code> and <code>try_from_bytes_mut</code> when the input isn't aligned has been corrected from being <code>AlignmentMismatch</code> (intended for allocation casting only) to <code>TargetAlignmentGreaterAndInputNotAligned</code>.</li> </ul> <h2>1.3.0</h2> <ul> <li>Had a bug because the CI was messed up! It wasn't soundness related, because it prevented the crate from building entirely if the <code>extern_crate_alloc</code> feature was used. Still, this is yanked, sorry.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="68ed5fe6f2
"><code>68ed5fe</code></a> (cargo-release) version 1.4.1</li> <li><a href="64cc5973c4
"><code>64cc597</code></a> Add more tests, overhaul CI, and fix plug soundness hole in `bytemuck::offset...</li> <li><a href="343c618fea
"><code>343c618</code></a> Mark playground as all-features (<a href="https://github-redirect.dependabot.com/Lokathor/bytemuck/issues/37">#37</a>)</li> <li><a href="e013e747e7
"><code>e013e74</code></a> Add/rename LICENSE files (<a href="https://github-redirect.dependabot.com/Lokathor/bytemuck/issues/36">#36</a>)</li> <li><a href="b816a1b585
"><code>b816a1b</code></a> (cargo-release) start next development iteration 1.4.1-alpha.0</li> <li><a href="426df7c9c0
"><code>426df7c</code></a> (cargo-release) version 1.4.0</li> <li><a href="6632bcef2c
"><code>6632bce</code></a> Update Cargo.toml</li> <li><a href="09ab956bea
"><code>09ab956</code></a> update the optional derives to the released version</li> <li><a href="c171ac4f5b
"><code>c171ac4</code></a> (cargo-release) start next development iteration 1.0.1-alpha.0</li> <li><a href="9aedc156a8
"><code>9aedc15</code></a> (cargo-release) version 1.0.0</li> <li>Additional commits viewable in <a href="https://github.com/Lokathor/bytemuck/compare/v1.2.0...v1.4.1">compare view</a></li> </ul> </details> <br /> [](https://dependabot.com/compatibility-score/?dependency-name=bytemuck&package-manager=cargo&previous-version=1.2.0&new-version=1.4.1) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) </details>
This commit is contained in:
commit
adbaab09fd
1 changed files with 2 additions and 2 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -487,9 +487,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7"
|
|||
|
||||
[[package]]
|
||||
name = "bytemuck"
|
||||
version = "1.2.0"
|
||||
version = "1.4.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "37fa13df2292ecb479ec23aa06f4507928bef07839be9ef15281411076629431"
|
||||
checksum = "41aa2ec95ca3b5c54cf73c91acf06d24f4495d5f1b1c12506ae3483d646177ac"
|
||||
|
||||
[[package]]
|
||||
name = "byteorder"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue