791: Bump tokio from 1.8.0 to 1.12.0 r=rishflab a=dependabot[bot]

Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.8.0 to 1.12.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tokio-rs/tokio/releases">tokio's releases</a>.</em></p>
<blockquote>
<h2>Tokio v1.12.0</h2>
<h1>1.12.0 (September 21, 2021)</h1>
<h3>Fixed</h3>
<ul>
<li>mpsc: ensure <code>try_reserve</code> error is consistent with <code>try_send</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4119">#4119</a>)</li>
<li>mpsc: use <code>spin_loop_hint</code> instead of <code>yield_now</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4115">#4115</a>)</li>
<li>sync: make <code>SendError</code> field public (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4097">#4097</a>)</li>
</ul>
<h3>Added</h3>
<ul>
<li>io: add POSIX AIO on FreeBSD (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4054">#4054</a>)</li>
<li>io: add convenience method <code>AsyncSeekExt::rewind</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4107">#4107</a>)</li>
<li>runtime: add tracing span for <code>block_on</code> futures (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4094">#4094</a>)</li>
<li>runtime: callback when a worker parks and unparks (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4070">#4070</a>)</li>
<li>sync: implement <code>try_recv</code> for mpsc channels (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4113">#4113</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>macros: run runtime inside <code>LocalSet</code> when using macro (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4027">#4027</a>)</li>
</ul>
<h3>Documented</h3>
<ul>
<li>docs: clarify CPU-bound tasks on Tokio (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4105">#4105</a>)</li>
<li>mpsc: document spurious failures on <code>poll_recv</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4117">#4117</a>)</li>
<li>mpsc: document that <code>PollSender</code> impls <code>Sink</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4110">#4110</a>)</li>
<li>task: document non-guarantees of <code>yield_now</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4091">#4091</a>)</li>
<li>time: document paused time details better (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4061">#4061</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4103">#4103</a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4027">#4027</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4027">tokio-rs/tokio#4027</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4054">#4054</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4054">tokio-rs/tokio#4054</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4061">#4061</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4061">tokio-rs/tokio#4061</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4070">#4070</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4070">tokio-rs/tokio#4070</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4091">#4091</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4091">tokio-rs/tokio#4091</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4094">#4094</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4094">tokio-rs/tokio#4094</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4097">#4097</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4097">tokio-rs/tokio#4097</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4103">#4103</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4103">tokio-rs/tokio#4103</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4105">#4105</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4105">tokio-rs/tokio#4105</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4107">#4107</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4107">tokio-rs/tokio#4107</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4110">#4110</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4110">tokio-rs/tokio#4110</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4113">#4113</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4113">tokio-rs/tokio#4113</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4115">#4115</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4115">tokio-rs/tokio#4115</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4117">#4117</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4117">tokio-rs/tokio#4117</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4119">#4119</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4119">tokio-rs/tokio#4119</a></p>
<h2>Tokio v1.11.0</h2>
<h1>1.11.0 (August 31, 2021)</h1>
<h3>Fixed</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="1ed89aa5cf"><code>1ed89aa</code></a> chore: prepare Tokio v1.12.0 (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4123">#4123</a>)</li>
<li><a href="d9b2dc81ca"><code>d9b2dc8</code></a> task: improve JoinHandle::abort cancellation doc (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4121">#4121</a>)</li>
<li><a href="8e54145c8b"><code>8e54145</code></a> ci: make loom tests optional (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4112">#4112</a>)</li>
<li><a href="279e8b001a"><code>279e8b0</code></a> sync: document spurious failures on poll_recv (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4117">#4117</a>)</li>
<li><a href="e9f6faee67"><code>e9f6fae</code></a> mpsc: ensure try_reserve error is consistent with try_send (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4119">#4119</a>)</li>
<li><a href="f1b89675eb"><code>f1b8967</code></a> mpsc: use spin_loop_hint instead of yield_now (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4115">#4115</a>)</li>
<li><a href="ddd33f2b05"><code>ddd33f2</code></a> sync: implement try_recv for mpsc channels (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4113">#4113</a>)</li>
<li><a href="8e92f05795"><code>8e92f05</code></a> io: update the mio-aio dev-dependency (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4116">#4116</a>)</li>
<li><a href="957ed3eac0"><code>957ed3e</code></a> runtime: callback when a worker parks and unparks (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4070">#4070</a>)</li>
<li><a href="ab34805849"><code>ab34805</code></a> time: more docs on advance (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4103">#4103</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/tokio-rs/tokio/compare/tokio-1.8.0...tokio-1.12.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tokio&package-manager=cargo&previous-version=1.8.0&new-version=1.12.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR 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)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
bors[bot] 2021-10-07 22:58:17 +00:00 committed by GitHub
commit b6461a3d33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
Cargo.lock generated
View File

@ -4137,9 +4137,9 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
[[package]] [[package]]
name = "tokio" name = "tokio"
version = "1.8.0" version = "1.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "570c2eb13b3ab38208130eccd41be92520388791207fde783bda7c1e8ace28d4" checksum = "c2c2416fdedca8443ae44b4527de1ea633af61d8f7169ffa6e72c5b53d24efcc"
dependencies = [ dependencies = [
"autocfg 1.0.1", "autocfg 1.0.1",
"bytes 1.0.1", "bytes 1.0.1",