Auto merge of #26552 - servo:dependabot/cargo/arrayvec-0.4.12, r=jdm

Bump arrayvec from 0.4.6 to 0.4.12

Bumps [arrayvec](https://github.com/bluss/arrayvec) from 0.4.6 to 0.4.12.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/bluss/arrayvec/blob/master/CHANGELOG.md">arrayvec's changelog</a>.</em></p>
<blockquote>
<ul>
<li>
<p>0.4.12</p>
<ul>
<li>Use raw pointers instead of <code>get_unchecked_mut</code> where the target may be
uninitialized everywhere relevant in the ArrayVec implementation.</li>
</ul>
</li>
<li>
<p>0.5.0</p>
<ul>
<li>Use <code>MaybeUninit</code> (now unconditionally) in the implementation of
<code>ArrayVec</code></li>
<li>Use <code>MaybeUninit</code> (now unconditionally) in the implementation of
<code>ArrayString</code></li>
<li>The crate feature for serde serialization is now named <code>serde</code>.</li>
<li>Updated the <code>Array</code> trait interface, and it is now easier to use for
users outside the crate.</li>
<li>Add <code>FromStr</code> impl for <code>ArrayString</code> by <a href="https://github.com/despawnerer">@despawnerer</a></li>
<li>Add method <code>try_extend_from_slice</code> to <code>ArrayVec</code>, which is always
effecient by <a href="https://github.com/Thomasdezeeuw">@Thomasdezeeuw</a>.</li>
<li>Add method <code>remaining_capacity</code> by <a href="https://github.com/Thomasdezeeuw">@Thomasdezeeuw</a></li>
<li>Improve performance of the <code>extend</code> method.</li>
<li>The index type of zero capacity vectors is now itself zero size, by
<a href="https://github.com/clarfon">@clarfon</a></li>
<li>Use <code>drop_in_place</code> for truncate and clear methods. This affects drop order
and resume from panic during drop.</li>
<li>Use Rust 2018 edition for the implementation</li>
<li>Require Rust 1.36 or later, for the unconditional <code>MaybeUninit</code>
improvements.</li>
</ul>
</li>
<li>
<p>0.4.11</p>
<ul>
<li>In Rust 1.36 or later, use newly stable <code>MaybeUninit</code>. This extends the
soundness work introduced in 0.4.9, we are finally able to use this in
stable. We use feature detection (build script) to enable this at build
time.</li>
</ul>
</li>
<li>
<p>0.4.10</p>
<ul>
<li>Use <code>repr(C)</code> in the <code>union</code> version that was introduced in 0.4.9, to
allay some soundness concerns.</li>
</ul>
</li>
<li>
<p>0.4.9</p>
<ul>
<li>Use <code>union</code> in the implementation on when this is detected to be supported
(nightly only for now). This is a better solution for treating uninitialized
regions correctly, and we'll use it in stable Rust as soon as we are able.
When this is enabled, the <code>ArrayVec</code> has no space overhead in its memory
layout, although the size of the vec should not be relied upon. (See <a href="https://github-redirect.dependabot.com/bluss/arrayvec/pull/114">#114</a>)</li>
<li><code>ArrayString</code> updated to not use uninitialized memory, it instead zeros its
backing array. This will be refined in the next version, since we
need to make changes to the user visible API.</li>
<li>The <code>use_union</code> feature now does nothing (like its documentation foretold).</li>
</ul>
</li>
</ul>
</tr></table> ... (truncated)
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f88c62e59f"><code>f88c62e</code></a> 0.4.12</li>
<li><a href="79e0908e26"><code>79e0908</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/bluss/arrayvec/issues/139">#139</a> from bluss/uninit-soundness-0.4</li>
<li><a href="91a7f7aa54"><code>91a7f7a</code></a> FIX: Replace uses of &lt;[T]&gt;::get_unchecked_mut with raw pointer accessor</li>
<li><a href="9792502792"><code>9792502</code></a> 0.4.11</li>
<li><a href="c155b400eb"><code>c155b40</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/bluss/arrayvec/issues/127">#127</a> from bluss/stable-maybe-uninit</li>
<li><a href="93220e55ae"><code>93220e5</code></a> TEST: Update tests for new MaybeUninit usage</li>
<li><a href="b56c3b78d0"><code>b56c3b7</code></a> FEAT: Use stable MaybeUninit when we can (feature detected)</li>
<li><a href="21661facf8"><code>21661fa</code></a> 0.4.10</li>
<li><a href="06930d27ce"><code>06930d2</code></a> FIX: Remove unused Copy/Clone for MaybeUninit</li>
<li><a href="85d9a06a62"><code>85d9a06</code></a> FIX: Use repr(C) MaybeUninit after discussion with RalfJung</li>
<li>Additional commits viewable in <a href="https://github.com/bluss/arrayvec/compare/0.4.6...0.4.12">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=arrayvec&package-manager=cargo&previous-version=0.4.6&new-version=0.4.12)](https://dependabot.com/compatibility-score/?dependency-name=arrayvec&package-manager=cargo&previous-version=0.4.6&new-version=0.4.12)

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:
bors-servo 2020-05-19 07:43:22 -04:00 committed by GitHub
commit d4fe7acb35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

10
Cargo.lock generated
View file

@ -140,9 +140,9 @@ checksum = "0d382e583f07208808f6b1249e60848879ba3543f57c32277bf52d69c2f0f0ee"
[[package]] [[package]]
name = "arrayvec" name = "arrayvec"
version = "0.4.6" version = "0.4.12"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2f0ef4a9820019a0c91d918918c93dc71d469f581a49b47ddc1d285d4270bbe2" checksum = "cd9fd44efafa8690358b7408d253adf110036b88f55672a933f01d616ad9b1b9"
dependencies = [ dependencies = [
"nodrop", "nodrop",
] ]
@ -2625,7 +2625,7 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7371aa3c98fad60de2d9b517e2e1ed45593c32b0c77249310fa507749a2a318b" checksum = "7371aa3c98fad60de2d9b517e2e1ed45593c32b0c77249310fa507749a2a318b"
dependencies = [ dependencies = [
"arrayvec 0.4.6", "arrayvec 0.4.12",
"byteorder", "byteorder",
"num-traits", "num-traits",
] ]
@ -3187,7 +3187,7 @@ version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "69589b8844c0b3745cc031a35b62bc33b0fb9e5ba7613756d802c52861dcdb4c" checksum = "69589b8844c0b3745cc031a35b62bc33b0fb9e5ba7613756d802c52861dcdb4c"
dependencies = [ dependencies = [
"arrayvec 0.4.6", "arrayvec 0.4.12",
"euclid", "euclid",
"num-traits", "num-traits",
] ]
@ -4527,7 +4527,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b8eb11f5b0a98c8eca2fb1483f42646d8c340e83e46ab416f8a063a0fd0eeb20" checksum = "b8eb11f5b0a98c8eca2fb1483f42646d8c340e83e46ab416f8a063a0fd0eeb20"
dependencies = [ dependencies = [
"approx", "approx",
"arrayvec 0.4.6", "arrayvec 0.4.12",
"ordered-float", "ordered-float",
"stb_truetype", "stb_truetype",
] ]