Auto merge of #26614 - servo:dependabot/cargo/num-rational-0.2.4, r=jdm

Bump num-rational from 0.2.1 to 0.2.4

Bumps [num-rational](https://github.com/rust-num/num-rational) from 0.2.1 to 0.2.4.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-num/num-rational/blob/master/RELEASES.md">num-rational's changelog</a>.</em></p>
<blockquote>
<h1>Release 0.2.4 (2020-03-17)</h1>
<ul>
<li><a href="https://github-redirect.dependabot.com/rust-num/num-rational/pull/74">Fixed <code>CheckedDiv</code> when both dividend and divisor are 0</a>.</li>
<li><a href="https://github-redirect.dependabot.com/rust-num/num-rational/pull/76">Fixed <code>CheckedDiv</code> with <code>min_value()</code> numerators</a>.</li>
</ul>
<h1>Release 0.2.3 (2020-01-09)</h1>
<ul>
<li><a href="https://github-redirect.dependabot.com/rust-num/num-rational/pull/42"><code>Ratio</code> now performs earlier reductions to avoid overflow with <code>+-*/%</code> operators</a>.</li>
<li><a href="https://github-redirect.dependabot.com/rust-num/num-rational/pull/48"><code>Ratio::{new_raw, numer, denom}</code> are now <code>const fn</code> for Rust 1.31 and later</a>.</li>
<li><a href="https://github-redirect.dependabot.com/rust-num/num-rational/pull/63">Updated the <code>autocfg</code> build dependency to 1.0</a>.</li>
</ul>
<p><strong>Contributors</strong>: <a href="https://github.com/cuviper">@cuviper</a>, <a href="https://github.com/dingelish">@dingelish</a>, <a href="https://github.com/jimbo1qaz">@jimbo1qaz</a>, <a href="https://github.com/maxbla">@maxbla</a></p>
<h1>Release 0.2.2 (2019-06-10)</h1>
<ul>
<li><a href="https://github-redirect.dependabot.com/rust-num/num-rational/pull/47"><code>Ratio</code> now implements <code>Zero::set_zero</code> and <code>One::set_one</code></a>.</li>
</ul>
<p><strong>Contributors</strong>: <a href="https://github.com/cuviper">@cuviper</a>, <a href="https://github.com/ignatenkobrain">@ignatenkobrain</a>, <a href="https://github.com/vks">@vks</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="ec0c6ee9a8"><code>ec0c6ee</code></a> Merge <a href="https://github-redirect.dependabot.com/rust-num/num-rational/issues/78">#78</a></li>
<li><a href="43ca6ff930"><code>43ca6ff</code></a> Release 0.2.4</li>
<li><a href="3287d3fd4a"><code>3287d3f</code></a> Merge <a href="https://github-redirect.dependabot.com/rust-num/num-rational/issues/76">#76</a></li>
<li><a href="027f333303"><code>027f333</code></a> Fix CheckedDiv with minimum values</li>
<li><a href="0ba366565a"><code>0ba3665</code></a> Merge <a href="https://github-redirect.dependabot.com/rust-num/num-rational/issues/74">#74</a></li>
<li><a href="0636841c52"><code>0636841</code></a> Fix CheckedDiv with zeros</li>
<li><a href="8f8111a19f"><code>8f8111a</code></a> Replace try! with ?</li>
<li><a href="dfa41b8557"><code>dfa41b8</code></a> Merge <a href="https://github-redirect.dependabot.com/rust-num/num-rational/issues/64">#64</a></li>
<li><a href="5540d58929"><code>5540d58</code></a> Release 0.2.3</li>
<li><a href="030524aa18"><code>030524a</code></a> Merge <a href="https://github-redirect.dependabot.com/rust-num/num-rational/issues/63">#63</a></li>
<li>Additional commits viewable in <a href="https://github.com/rust-num/num-rational/compare/num-rational-0.2.1...num-rational-0.2.4">compare view</a></li>
</ul>
</details>
<br />

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

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-22 13:04:53 -04:00 committed by GitHub
commit f6f1648e56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

10
Cargo.lock generated
View file

@ -3785,10 +3785,11 @@ dependencies = [
[[package]]
name = "num-integer"
version = "0.1.38"
version = "0.1.42"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6ac0ea58d64a89d9d6b7688031b3be9358d6c919badcf7fbb0527ccfd891ee45"
checksum = "3f6ea62e9d81a77cd3ee9a2a5b9b609447857f3d358704331e4ef39eb247fcba"
dependencies = [
"autocfg",
"num-traits",
]
@ -3804,10 +3805,11 @@ dependencies = [
[[package]]
name = "num-rational"
version = "0.2.1"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4e96f040177bb3da242b5b1ecf3f54b5d5af3efbbfb18608977a5d2767b22f10"
checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef"
dependencies = [
"autocfg",
"num-integer",
"num-traits",
]