Auto merge of #26885 - servo:dependabot/cargo/num-traits-0.2.12, r=jdm

build(deps): bump num-traits from 0.2.11 to 0.2.12

Bumps [num-traits](https://github.com/rust-num/num-traits) from 0.2.11 to 0.2.12.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-num/num-traits/blob/master/RELEASES.md">num-traits's changelog</a>.</em></p>
<blockquote>
<h1>Release 0.2.12 (2020-06-11)</h1>
<ul>
<li><a href="https://github-redirect.dependabot.com/rust-num/num-traits/pull/153">The new <code>WrappingNeg</code> trait</a> will wrap the result if it exceeds the
boundary of the type, e.g. <code>i32::MIN.wrapping_neg() == i32::MIN</code>.</li>
<li><a href="https://github-redirect.dependabot.com/rust-num/num-traits/pull/165">The new <code>SaturatingAdd</code>, <code>SaturatingSub</code>, and <code>SaturatingMul</code> traits</a>
will saturate at the numeric bounds if the operation would overflow. These
soft-deprecate the existing <code>Saturating</code> trait that only has addition and
subtraction methods.</li>
<li><a href="https://github-redirect.dependabot.com/rust-num/num-traits/pull/171">Added new constants for logarithms, <code>FloatConst::{LOG10_2, LOG2_10}</code></a>.</li>
</ul>
<p><strong>Contributors</strong>: <a href="https://github.com/cuviper">@cuviper</a>, <a href="https://github.com/ocstl">@ocstl</a>, <a href="https://github.com/trepetti">@trepetti</a>, <a href="https://github.com/vallentin">@vallentin</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f6852e047c"><code>f6852e0</code></a> Merge <a href="https://github-redirect.dependabot.com/rust-num/num-traits/issues/172">#172</a></li>
<li><a href="fb10fe9bf4"><code>fb10fe9</code></a> Release 0.2.12</li>
<li><a href="9d54f39df9"><code>9d54f39</code></a> Merge <a href="https://github-redirect.dependabot.com/rust-num/num-traits/issues/165">#165</a> <a href="https://github-redirect.dependabot.com/rust-num/num-traits/issues/171">#171</a></li>
<li><a href="5f00e22314"><code>5f00e22</code></a> remove an unused pattern from saturating_impl</li>
<li><a href="e9fcdb0730"><code>e9fcdb0</code></a> Add FloatConst::{LOG10_2, LOG2_10}</li>
<li><a href="cf1633836c"><code>cf16338</code></a> Merge <a href="https://github-redirect.dependabot.com/rust-num/num-traits/issues/162">#162</a></li>
<li><a href="86c31265f5"><code>86c3126</code></a> Restore and deprecate Saturating trait. Fix up doc strings for Saturating* tr...</li>
<li><a href="964752f019"><code>964752f</code></a> Fix formatting for SaturatingAdd, SaturatingMul and SaturatingSub traits in l...</li>
<li><a href="052e765df0"><code>052e765</code></a> Add saturating_mul() and refactor Saturating into subtraits. Fixes <a href="https://github-redirect.dependabot.com/rust-num/num-traits/issues/40">#40</a>.</li>
<li><a href="a91bb7b085"><code>a91bb7b</code></a> Use {float}::to_int_unchecked() in Rust 1.44+</li>
<li>Additional commits viewable in <a href="https://github.com/rust-num/num-traits/compare/num-traits-0.2.11...num-traits-0.2.12">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=num-traits&package-manager=cargo&previous-version=0.2.11&new-version=0.2.12)](https://dependabot.com/compatibility-score/?dependency-name=num-traits&package-manager=cargo&previous-version=0.2.11&new-version=0.2.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-06-14 12:48:57 -04:00 committed by GitHub
commit 1186363afe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

4
Cargo.lock generated
View file

@ -3699,9 +3699,9 @@ dependencies = [
[[package]]
name = "num-traits"
version = "0.2.11"
version = "0.2.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c62be47e61d1842b9170f0fdeec8eba98e60e90e5446449a0545e5152acd7096"
checksum = "ac267bcc07f48ee5f8935ab0d24f316fb722d7a1292e2913f0cc196b29ffd611"
dependencies = [
"autocfg",
]