Auto merge of #28800 - servo:dependabot/cargo/tokio-0.2.24, r=jdm

Bump tokio from 0.2.21 to 0.2.24

Bumps [tokio](https://github.com/tokio-rs/tokio) from 0.2.21 to 0.2.24.
<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 v0.2.23</h2>
<p>Maintenance release.</p>
<h3>Fixes</h3>
<ul>
<li>time: report correct error for timers that exceed max duration (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2023">#2023</a>)</li>
<li>time: fix resetting expired timers causing panics (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2587">#2587</a>)</li>
<li>macros: silence <code>unreachable_code</code> warning in <code>select!</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2678">#2678</a>)</li>
<li>rt: fix potential leak during runtime shutdown (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2649">#2649</a>)</li>
<li>sync: fix missing notification during mpsc close (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2854">#2854</a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li>io: always re-export <code>std::io</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2606">#2606</a>)</li>
<li>dependencies: update <code>parking_lot</code> dependency to 0.11.0 (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2676">#2676</a>)</li>
<li>io: rewrite <code>read_to_end</code> and <code>read_to_string</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2560">#2560</a>)</li>
<li>coop: reset coop budget when blocking in <code>block_on</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2711">#2711</a>)</li>
<li>sync: better Debug for Mutex (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2725">#2725</a>)</li>
<li>net: make <code>UnixListener::poll_accept</code> public (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2880">#2880</a>)</li>
<li>dep: raise <code>lazy_static</code> to <code>1.4.0</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3132">#3132</a>)</li>
<li>dep: raise <code>slab</code> to <code>0.4.2</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3132">#3132</a>)</li>
</ul>
<h3>Added</h3>
<ul>
<li>io: add <code>io::duplex()</code> as bidirectional reader/writer (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2661">#2661</a>)</li>
<li>net: introduce split and <code>into_split</code> on <code>UnixDatagram</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2557">#2557</a>)</li>
<li>net: ensure that unix sockets have both <code>split</code> and <code>into_split</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2687">#2687</a>)</li>
<li>net: add <code>try_recv</code>/<code>from</code> &amp; <code>try_send</code>/<code>to</code> to UnixDatagram (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/1677">#1677</a>)</li>
<li>net: Add <code>UdpSocket::{try_send,try_send_to}</code> methods (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/1979">#1979</a>)</li>
<li>net: implement <code>ToSocketAddrs</code> for <code>(String, u16)</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2724">#2724</a>)</li>
<li>io: add <code>ReaderStream</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2714">#2714</a>)</li>
<li>sync: implement map methods (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2771">#2771</a>)</li>
</ul>
<h2>Tokio v0.2.22</h2>
<p>This release introduces initial support for [<code>tracing</code>] instrumentation within the Tokio
runtime, enabled by the &quot;tracing&quot; feature flag. In addition, it contains a number of bug
fixes and API additions.</p>
<h3>Fixes</h3>
<ul>
<li>docs: misc improvements (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2572">#2572</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2658">#2658</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2663">#2663</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2656">#2656</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2647">#2647</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2630">#2630</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2487">#2487</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2621">#2621</a>,
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2624">#2624</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2600">#2600</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2623">#2623</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2622">#2622</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2577">#2577</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2569">#2569</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2589">#2589</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2575">#2575</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2540">#2540</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2564">#2564</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2567">#2567</a>,
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2520">#2520</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2521">#2521</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2493">#2493</a>)</li>
<li>rt: allow calls to <code>block_on</code> inside calls to <code>block_in_place</code> that are
themselves inside <code>block_on</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2645">#2645</a>)</li>
<li>net: fix non-portable behavior when dropping <code>TcpStream</code> <code>OwnedWriteHalf</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2597">#2597</a>)</li>
<li>io: improve stack usage by allocating large buffers on directly on the heap
(<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2634">#2634</a>)</li>
<li>io: fix unsound pin projection in <code>AsyncReadExt::read_buf</code> and
<code>AsyncWriteExt::write_buf</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2612">#2612</a>)</li>
<li>io: fix unnecessary zeroing for <code>AsyncRead</code> implementors (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2525">#2525</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="95b943506b"><code>95b9435</code></a> chore: prepare 0.2.24 release (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3227">#3227</a>)</li>
<li><a href="3d17488d9a"><code>3d17488</code></a> sync: fix mpsc bug related to closing the channel (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3215">#3215</a>)</li>
<li><a href="c63057ebc5"><code>c63057e</code></a> chore: prepare v0.2.23 release (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3114">#3114</a>)</li>
<li><a href="1016de28fc"><code>1016de2</code></a> ci: minimal version check (v0.2.x) (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3132">#3132</a>)</li>
<li><a href="d2ad49aa6e"><code>d2ad49a</code></a> chore: prepare tokio-macros v0.2.6 (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3127">#3127</a>)</li>
<li><a href="85d8029e9b"><code>85d8029</code></a> util: Add <code>TokioContext</code> future (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2791">#2791</a>) (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2958">#2958</a>)</li>
<li><a href="b69d4a6108"><code>b69d4a6</code></a> v0.2.x: disable clippy check (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2961">#2961</a>)</li>
<li><a href="a517dbf605"><code>a517dbf</code></a> net: make <code>UnixListener::poll_accept</code> public (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2880">#2880</a>)</li>
<li><a href="c0c7124a4b"><code>c0c7124</code></a> sync: fix missing notification during mpsc close (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2854">#2854</a>)</li>
<li><a href="2b96b1773d"><code>2b96b17</code></a> ci: update nightly and fix all sorts of new failures (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2852">#2852</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/tokio-rs/tokio/compare/tokio-0.2.21...tokio-0.2.24">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=0.2.21&new-version=0.2.24)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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)

</details>
This commit is contained in:
bors-servo 2022-04-05 14:10:56 -04:00 committed by GitHub
commit 829c09eff0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
Cargo.lock generated
View file

@ -209,7 +209,7 @@ dependencies = [
"log",
"openssl",
"pin-project 1.0.2",
"tokio 0.2.21",
"tokio 0.2.24",
"tokio-openssl 0.4.0",
"tungstenite",
]
@ -2618,7 +2618,7 @@ dependencies = [
"http",
"indexmap",
"slab",
"tokio 0.2.21",
"tokio 0.2.24",
"tokio-util 0.3.1",
"tracing",
"tracing-futures",
@ -2820,7 +2820,7 @@ dependencies = [
"itoa 0.4.5",
"pin-project 1.0.2",
"socket2 0.3.19",
"tokio 0.2.21",
"tokio 0.2.24",
"tower-service",
"tracing",
"want",
@ -4080,7 +4080,7 @@ dependencies = [
"servo_url",
"std_test_override",
"time",
"tokio 0.2.21",
"tokio 0.2.24",
"tokio 1.15.0",
"tokio-openssl 0.6.3",
"tokio-stream",
@ -6585,9 +6585,9 @@ dependencies = [
[[package]]
name = "tokio"
version = "0.2.21"
version = "0.2.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d099fa27b9702bed751524694adbe393e18b36b204da91eb1cbbbbb4a5ee2d58"
checksum = "099837d3464c16a808060bb3f02263b412f6fafcb5d01c533d309985fbeebe48"
dependencies = [
"bytes 0.5.6",
"fnv",
@ -6647,7 +6647,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c4b08c5f4208e699ede3df2520aca2e82401b2de33f45e96696a074480be594"
dependencies = [
"openssl",
"tokio 0.2.21",
"tokio 0.2.24",
]
[[package]]
@ -6697,7 +6697,7 @@ dependencies = [
"futures-sink",
"log",
"pin-project-lite 0.1.11",
"tokio 0.2.21",
"tokio 0.2.24",
]
[[package]]
@ -7004,7 +7004,7 @@ dependencies = [
"serde",
"serde_json",
"serde_urlencoded",
"tokio 0.2.21",
"tokio 0.2.24",
"tower-service",
"tracing",
"tracing-futures",
@ -7177,7 +7177,7 @@ dependencies = [
"serde_derive",
"serde_json",
"time",
"tokio 0.2.21",
"tokio 0.2.24",
"unicode-segmentation",
"url",
"warp",