Auto merge of #26762 - servo:dependabot/cargo/rand_chacha-0.2.2, r=jdm

Bump rand_chacha from 0.2.1 to 0.2.2

Bumps [rand_chacha](https://github.com/rust-random/rand) from 0.2.1 to 0.2.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-random/rand/blob/master/CHANGELOG.md">rand_chacha's changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<p>All notable changes to this project will be documented in this file.</p>
<p>The format is based on <a href="http://keepachangelog.com/en/1.0.0/">Keep a Changelog</a>
and this project adheres to <a href="https://semver.org/spec/v2.0.0.html">Semantic Versioning</a>.</p>
<p>A <a href="https://github.com/rust-random/rand/blob/master/rand_core/CHANGELOG.md">separate changelog is kept for rand_core</a>.</p>
<p>You may also find the <a href="https://rust-random.github.io/book/update.html">Upgrade Guide</a> useful.</p>
<h2>[Unreleased]</h2>
<h3>Additions</h3>
<ul>
<li>impl PartialEq+Eq for StdRng, SmallRng, and StepRng (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/975">#975</a>)</li>
<li>Added a <code>serde1</code> feature and added Serialize/Deserialize to <code>UniformInt</code> and <code>WeightedIndex</code> (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/974">#974</a>)</li>
</ul>
<h2>[0.7.3] - 2020-01-10</h2>
<h3>Fixes</h3>
<ul>
<li>The <code>Bernoulli</code> distribution constructors now reports an error on NaN and on
<code>denominator == 0</code>. (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/925">#925</a>)</li>
<li>Use <code>std::sync::Once</code> to register fork handler, avoiding possible atomicity violation (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/928">#928</a>)</li>
<li>Fix documentation on the precision of generated floating-point values</li>
</ul>
<h3>Changes</h3>
<ul>
<li>Unix: make libc dependency optional; only use fork protection with std feature (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/928">#928</a>)</li>
</ul>
<h3>Additions</h3>
<ul>
<li>Implement <code>std::error::Error</code> for <code>BernoulliError</code> (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/919">#919</a>)</li>
</ul>
<h2>[0.7.2] - 2019-09-16</h2>
<h3>Fixes</h3>
<ul>
<li>Fix dependency on <code>rand_core</code> 0.5.1 (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/890">#890</a>)</li>
</ul>
<h3>Additions</h3>
<ul>
<li>Unit tests for value stability of distributions added (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/888">#888</a>)</li>
</ul>
<h2>[0.7.1] - 2019-09-13</h2>
<h3>Yanked</h3>
<p>This release was yanked since it depends on <code>rand_core::OsRng</code> added in 0.5.1
but specifies a dependency on version 0.5.0 (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/890">#890</a>), causing a broken builds
when updating from <code>rand 0.7.0</code> without also updating <code>rand_core</code>.</p>
<h3>Fixes</h3>
<ul>
<li>Fix <code>no_std</code> behaviour, appropriately enable c2-chacha's <code>std</code> feature (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/844">#844</a>)</li>
<li><code>alloc</code> feature in <code>no_std</code> is available since Rust 1.36 (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/856">#856</a>)</li>
<li>Fix or squelch issues from Clippy lints (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/840">#840</a>)</li>
</ul>
<h3>Additions</h3>
<ul>
<li>Add a <code>no_std</code> target to CI to continuously evaluate <code>no_std</code> status (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/844">#844</a>)</li>
<li><code>WeightedIndex</code>: allow adjusting a sub-set of weights (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/866">#866</a>)</li>
</ul>
</tr></table> ... (truncated)
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="e2112c4404"><code>e2112c4</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-random/rand/issues/950">#950</a> from coltfred/rand-chacha-0.2.2</li>
<li><a href="c67a857b16"><code>c67a857</code></a> Update changelog for rand-chacha 0.2.2</li>
<li><a href="8ed19df4fd"><code>8ed19df</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-random/rand/issues/944">#944</a> from coltfred/crypto-rng-chachacore</li>
<li><a href="108632c900"><code>108632c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-random/rand/issues/940">#940</a> from dhardy/work</li>
<li><a href="5ecaeb3b4f"><code>5ecaeb3</code></a> Add CryptoRng marker trait to ChaChaXCore</li>
<li><a href="d66d4d169c"><code>d66d4d1</code></a> Impl Fill for slices over bool, char, f32, f64</li>
<li><a href="eccd1f8f7e"><code>eccd1f8</code></a> Optimise: avoid inlining</li>
<li><a href="7bdfa855e2"><code>7bdfa85</code></a> Replace AsByteSliceMut with Fill</li>
<li><a href="571c9af9a6"><code>571c9af</code></a> Misc bench: add gen_1kb_u16_*</li>
<li><a href="6403c10d64"><code>6403c10</code></a> Move Rng trait to sub-module</li>
<li>Additional commits viewable in <a href="https://github.com/rust-random/rand/compare/rand_chacha-0.2.1...rand_chacha-0.2.2">compare view</a></li>
</ul>
</details>
<br />

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

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-06-03 07:40:55 -04:00 committed by GitHub
commit d20b5a72a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

15
Cargo.lock generated
View file

@ -493,15 +493,6 @@ dependencies = [
"libc",
]
[[package]]
name = "c2-chacha"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "217192c943108d8b13bac38a1d51df9ce8a407a3f5a71ab633980665e68fbd9a"
dependencies = [
"ppv-lite86",
]
[[package]]
name = "canvas"
version = "0.0.1"
@ -4301,11 +4292,11 @@ dependencies = [
[[package]]
name = "rand_chacha"
version = "0.2.1"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "03a2a90da8c7523f554344f921aa97283eadf6ac484a6d2a7d0212fa7f8d6853"
checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
dependencies = [
"c2-chacha",
"ppv-lite86",
"rand_core",
]