Skip to content

Commit

Permalink
build(deps): bump tokio from 1.21.2 to 1.22.0 (#965)
Browse files Browse the repository at this point in the history
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.2 to 1.22.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.22.0</h2>
<h3>Added</h3>
<ul>
<li>runtime: add <code>Handle::runtime_flavor</code> (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5138">#5138</a>)</li>
<li>sync: add <code>Mutex::blocking_lock_owned</code> (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5130">#5130</a>)</li>
<li>sync: add <code>Semaphore::MAX_PERMITS</code> (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5144">#5144</a>)</li>
<li>sync: add <code>merge()</code> to semaphore permits (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4948">#4948</a>)</li>
<li>sync: add <code>mpsc::WeakUnboundedSender</code> (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5189">#5189</a>)</li>
</ul>
<h3>Added (unstable)</h3>
<ul>
<li>process: add <code>Command::process_group</code> (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5114">#5114</a>)</li>
<li>runtime: export metrics about the blocking thread pool (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5161">#5161</a>)</li>
<li>task: add <code>task::id()</code> and <code>task::try_id()</code>
(<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5171">#5171</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>macros: don't take ownership of futures in macros (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5087">#5087</a>)</li>
<li>runtime: fix Stacked Borrows violation in
<code>LocalOwnedTasks</code> (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5099">#5099</a>)</li>
<li>runtime: mitigate ABA with 32-bit queue indices when possible (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5042">#5042</a>)</li>
<li>task: wake local tasks to the local queue when woken by the same
thread (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5095">#5095</a>)</li>
<li>time: panic in release mode when <code>mark_pending</code> called
illegally (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5093">#5093</a>)</li>
<li>runtime: fix typo in expect message (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5169">#5169</a>)</li>
<li>runtime: fix <code>unsync_load</code> on atomic types (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5175">#5175</a>)</li>
<li>task: elaborate safety comments in task deallocation (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5172">#5172</a>)</li>
<li>runtime: fix <code>LocalSet</code> drop in thread local (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5179">#5179</a>)</li>
<li>net: remove libc type leakage in a public API (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5191">#5191</a>)</li>
<li>runtime: update the alignment of <code>CachePadded</code> (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5106">#5106</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>io: make <code>tokio::io::copy</code> continue filling the buffer
when writer stalls (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5066">#5066</a>)</li>
<li>runtime: remove <code>coop::budget</code> from
<code>LocalSet::run_until</code> (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5155">#5155</a>)</li>
<li>sync: make <code>Notify</code> panic safe (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5154">#5154</a>)</li>
</ul>
<h3>Documented</h3>
<ul>
<li>io: fix doc for <code>write_i8</code> to use signed integers (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5040">#5040</a>)</li>
<li>net: fix doc typos for TCP and UDP <code>set_tos</code> methods (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5073">#5073</a>)</li>
<li>net: fix function name in <code>UdpSocket::recv</code> documentation
(<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5150">#5150</a>)</li>
<li>sync: typo in <code>TryLockError</code> for
<code>RwLock::try_write</code> (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5160">#5160</a>)</li>
<li>task: document that spawned tasks execute immediately (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5117">#5117</a>)</li>
<li>time: document return type of <code>timeout</code> (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5118">#5118</a>)</li>
<li>time: document that <code>timeout</code> checks only before poll (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5126">#5126</a>)</li>
<li>sync: specify return type of <code>oneshot::Receiver</code> in docs
(<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5198">#5198</a>)</li>
</ul>
<h3>Internal changes</h3>
<ul>
<li>runtime: use const <code>Mutex::new</code> for globals (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5061">#5061</a>)</li>
<li>runtime: remove <code>Option</code> around <code>mio::Events</code>
in io driver (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5078">#5078</a>)</li>
<li>runtime: remove a conditional compilation clause (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5104">#5104</a>)</li>
<li>runtime: remove a reference to internal time handle (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5107">#5107</a>)</li>
<li>runtime: misc time driver cleanup (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5120">#5120</a>)</li>
<li>runtime: move signal driver to runtime module (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5121">#5121</a>)</li>
<li>runtime: signal driver now uses I/O driver directly (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5125">#5125</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tokio-rs/tokio/commit/bf31759bff624a04e31cdb84fbb13c19105771dc"><code>bf31759</code></a>
chore: prepare Tokio v1.22.0 (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5203">#5203</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/d65826236b9f194ac4e2640f6a846c1bcae064c2"><code>d658262</code></a>
ci: remove libc types from external types allow list (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5197">#5197</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/1cbbcc9ad57ccf413f58d9dcd66d2ea7e68a0766"><code>1cbbcc9</code></a>
sync: specify return type of <code>oneshot::Receiver</code> in docs (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5198">#5198</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/a66802015043a2bd94b15d17c4131bc3431c8e14"><code>a668020</code></a>
net: remove libc type leakage in a public API (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5191">#5191</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/01f019397182097c955bae5358034bb9763ba964"><code>01f0193</code></a>
chore: fix compilation on master (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5190">#5190</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/71bd49e146ac5288fd4cb327dd3f86eb71b3a865"><code>71bd49e</code></a>
task: add <code>task::id()</code> and <code>task::try_id()</code> (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5171">#5171</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/582d51290772491aa01b2efbbc86d4bdc5fabe21"><code>582d512</code></a>
sync: add <code>mpsc::WeakUnboundedSender</code> (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5189">#5189</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/b7812c85ca2d051d47cec023b880cbf8cdcbc313"><code>b7812c8</code></a>
rt: fix <code>LocalSet</code> drop in thread local (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5179">#5179</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/9e3fb1673a73046363af64c09a040eeed67f2a4c"><code>9e3fb16</code></a>
rt: move <code>CoreStage</code> methods to <code>Core</code> (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5182">#5182</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/53cba023dac45c2ab697bd1ead6c86cf4da3561c"><code>53cba02</code></a>
rt: fix accidental unsetting of current handle (<a
href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/5178">#5178</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/tokio-rs/tokio/compare/tokio-1.21.2...tokio-1.22.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.21.2&new-version=1.22.0)](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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Nov 28, 2022
1 parent 0bb4703 commit 9f6611d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9f6611d

Please sign in to comment.