Auto merge of #26916 - servo:dependabot/cargo/num_cpus-1.13.0, r=jdm

build(deps): bump num_cpus from 1.10.1 to 1.13.0

Bumps [num_cpus](https://github.com/seanmonstar/num_cpus) from 1.10.1 to 1.13.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/seanmonstar/num_cpus/releases">num_cpus's releases</a>.</em></p>
<blockquote>
<h2>v1.13.0</h2>
<h3>Features</h3>
<ul>
<li>add Linux cgroups support when calling <code>get()</code>.</li>
</ul>
<hr />
<p>Linux cgroups are a way to restrict the amount of resources a container can use. With this change, most libraries and applications deciding the number of threads to use via <code>num_cpus::get()</code> will spawn less threads, resulting in better usage of the CPU, and typically perform better.</p>
<p><img src="https://user-images.githubusercontent.com/145366/78310804-48a72080-754f-11ea-8ae5-61f97a979d8f.png" alt="image" /></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md">num_cpus's changelog</a>.</em></p>
<blockquote>
<h2>v1.13.0</h2>
<h3>Features</h3>
<ul>
<li>add Linux cgroups support when calling <code>get()</code>.</li>
</ul>
<h2>v1.12.0</h2>
<h4>Fixes</h4>
<ul>
<li>fix <code>get</code> on OpenBSD to ignore offline CPUs</li>
<li>implement <code>get_physical</code> on OpenBSD</li>
</ul>
<h2>v1.11.1</h2>
<h4>Fixes</h4>
<ul>
<li>Use <code>mem::zeroed</code> instead of <code>mem::uninitialized</code>.</li>
</ul>
<h2>v1.11.0</h2>
<h4>Features</h4>
<ul>
<li>add <code>hermit</code> target OS support</li>
<li>removes <code>bitrig</code> support</li>
</ul>
<h4>Fixes</h4>
<ul>
<li>fix <code>get_physical</code> count with AMD hyperthreading.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="b347731fc0"><code>b347731</code></a> v1.13.0</li>
<li><a href="b676af138f"><code>b676af1</code></a> Add docker CI</li>
<li><a href="3a56d16215"><code>3a56d16</code></a> Add cgroups support for Linux targets</li>
<li><a href="bfce9402ba"><code>bfce940</code></a> Add MSRV to CI (<a href="https://github-redirect.dependabot.com/seanmonstar/num_cpus/issues/98">#98</a>)</li>
<li><a href="3eadfaa1e0"><code>3eadfaa</code></a> Remove un-supported macOS/iOS targets from CI (<a href="https://github-redirect.dependabot.com/seanmonstar/num_cpus/issues/97">#97</a>)</li>
<li><a href="ae4492e91b"><code>ae4492e</code></a> v1.12.0</li>
<li><a href="b94df797a1"><code>b94df79</code></a> Tweak OpenBSD cpu detection (<a href="https://github-redirect.dependabot.com/seanmonstar/num_cpus/issues/92">#92</a>)</li>
<li><a href="428811d2a0"><code>428811d</code></a> v1.11.1</li>
<li><a href="a24f544dc6"><code>a24f544</code></a> Replace <code>mem::uninitialized()</code> with <code>mem::zeroed()</code> (<a href="https://github-redirect.dependabot.com/seanmonstar/num_cpus/issues/83">#83</a>)</li>
<li><a href="1904840fa1"><code>1904840</code></a> v1.11.0</li>
<li>Additional commits viewable in <a href="https://github.com/seanmonstar/num_cpus/compare/v1.10.1...v1.13.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=num_cpus&package-manager=cargo&previous-version=1.10.1&new-version=1.13.0)](https://dependabot.com/compatibility-score/?dependency-name=num_cpus&package-manager=cargo&previous-version=1.10.1&new-version=1.13.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>
This commit is contained in:
bors-servo 2020-06-15 16:04:01 -04:00 committed by GitHub
commit 15130915b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

14
Cargo.lock generated
View file

@ -2406,6 +2406,15 @@ dependencies = [
"unicode-segmentation",
]
[[package]]
name = "hermit-abi"
version = "0.1.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9586eedd4ce6b3c498bc3b4dd92fc9f11166aa908a914071953768066c67909"
dependencies = [
"libc",
]
[[package]]
name = "hex"
version = "0.3.2"
@ -3709,10 +3718,11 @@ dependencies = [
[[package]]
name = "num_cpus"
version = "1.10.1"
version = "1.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bcef43580c035376c0705c42792c294b66974abbfd2789b511784023f71f3273"
checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3"
dependencies = [
"hermit-abi",
"libc",
]