742: Bump num-bigint from 0.3.1 to 0.4.0 r=collinc97 a=dependabot-preview[bot]

Bumps [num-bigint](https://github.com/rust-num/num-bigint) from 0.3.1 to 0.4.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-num/num-bigint/blob/master/RELEASES.md">num-bigint's changelog</a>.</em></p>
<blockquote>
<h1>Release 0.4.0 (2021-03-05)</h1>
<h3>Breaking Changes</h3>
<ul>
<li>Updated public dependences on <a href="https://github-redirect.dependabot.com/rust-num/num-bigint/pull/194">arbitrary, quickcheck</a>, and <a href="https://github-redirect.dependabot.com/rust-num/num-bigint/pull/185">rand</a>:
<ul>
<li><code>arbitrary</code> support has been updated to 1.0, requiring Rust 1.40.</li>
<li><code>quickcheck</code> support has been updated to 1.0, requiring Rust 1.46.</li>
<li><code>rand</code> support has been updated to 0.8, requiring Rust 1.36.</li>
</ul>
</li>
<li><a href="https://github-redirect.dependabot.com/rust-num/num-bigint/pull/195"><code>Debug</code> now shows plain numeric values for <code>BigInt</code> and <code>BigUint</code></a>,
rather than the raw list of internal digits.</li>
</ul>
<p><strong>Contributors</strong>: <a href="https://github.com/cuviper"><code>@cuviper</code></a>, <a href="https://github.com/Gelbpunkt"><code>@Gelbpunkt</code></a></p>
<h1>Release 0.3.2 (2021-03-04)</h1>
<ul>
<li><a href="https://github-redirect.dependabot.com/rust-num/num-bigint/pull/175">The new <code>BigUint</code> methods <code>count_ones</code> and <code>trailing_ones</code></a> return the
number of <code>1</code> bits in the entire value or just its least-significant tail,
respectively.</li>
<li><a href="https://github-redirect.dependabot.com/rust-num/num-bigint/pull/183">The new <code>BigInt</code> and <code>BigUint</code> methods <code>bit</code> and <code>set_bit</code></a> will read
and write individual bits of the value. For negative <code>BigInt</code>, bits are
determined as if they were in the two's complement representation.</li>
<li><a href="https://github-redirect.dependabot.com/rust-num/num-bigint/pull/187">The <code>from_radix_le</code> and <code>from_radix_be</code> methods</a> now accept empty
buffers to represent zero.</li>
<li><a href="https://github-redirect.dependabot.com/rust-num/num-bigint/pull/192"><code>BigInt</code> and <code>BigUint</code> can now iterate digits as <code>u32</code> or <code>u64</code></a>,
regardless of the actual internal digit size.</li>
</ul>
<p><strong>Contributors</strong>: <a href="https://github.com/BartMassey"><code>@BartMassey</code></a>, <a href="https://github.com/cuviper"><code>@cuviper</code></a>, <a href="https://github.com/janmarthedal"><code>@janmarthedal</code></a>, <a href="https://github.com/sebastianv89"><code>@sebastianv89</code></a>, <a href="https://github.com/Speedy37"><code>@Speedy37</code></a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d1e4498cbc"><code>d1e4498</code></a> Merge <a href="https://github-redirect.dependabot.com/rust-num/num-bigint/issues/197">#197</a></li>
<li><a href="4b7c9d78c5"><code>4b7c9d7</code></a> Fix clippy::needless_range_loop</li>
<li><a href="a49c0acc48"><code>a49c0ac</code></a> Release 0.4.0</li>
<li><a href="7c40fded5d"><code>7c40fde</code></a> Merge <a href="https://github-redirect.dependabot.com/rust-num/num-bigint/issues/194">#194</a> <a href="https://github-redirect.dependabot.com/rust-num/num-bigint/issues/195">#195</a></li>
<li><a href="96cf255572"><code>96cf255</code></a> Update to arbitrary-1 and quickcheck-1</li>
<li><a href="60637c55c3"><code>60637c5</code></a> Merge <a href="https://github-redirect.dependabot.com/rust-num/num-bigint/issues/185">#185</a></li>
<li><a href="4247abe601"><code>4247abe</code></a> implement xorshift* for benchmarking</li>
<li><a href="998d4cb559"><code>998d4cb</code></a> seed tests with u64 for platform consistency</li>
<li><a href="46aa21283a"><code>46aa212</code></a> Bump to 0.4.0-pre</li>
<li><a href="63a89672f6"><code>63a8967</code></a> Update for rand's MSRV 1.36</li>
<li>Additional commits viewable in <a href="https://github.com/rust-num/num-bigint/compare/num-bigint-0.3.1...num-bigint-0.4.0">compare view</a></li>
</ul>
</details>
<br />


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

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>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
This commit is contained in:
bors[bot] 2021-03-09 00:22:13 +00:00 committed by GitHub
commit c2434919da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

4
Cargo.lock generated
View File

@ -1660,9 +1660,9 @@ dependencies = [
[[package]]
name = "num-bigint"
version = "0.3.1"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e9a41747ae4633fce5adffb4d2e81ffc5e89593cb19917f8fb2cc5ff76507bf"
checksum = "4e0d047c1062aa51e256408c560894e5251f08925980e53cf1aa5bd00eec6512"
dependencies = [
"autocfg",
"num-integer",

View File

@ -38,7 +38,7 @@ version = "1.2.3"
path = "../parser"
[dependencies.num-bigint]
version = "0.3"
version = "0.4"
[dependencies.typed-arena]
version = "2.0"

View File

@ -101,7 +101,7 @@ version = "1.0"
version = "0.1"
[dev-dependencies.num-bigint]
version = "0.3"
version = "0.4"
[dev-dependencies.rand_core]
version = "0.6.2"

View File

@ -34,7 +34,7 @@ version = "0.2.0"
default-features = false
[dependencies.num-bigint]
version = "0.3"
version = "0.4"
[dependencies.serde]
version = "1.0"