[PR #1175] [MERGED] Bump tokio from 0.2.21 to 0.2.22 #2050

Closed
opened 2026-03-16 05:01:00 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/1175
Author: @dependabot-preview[bot]
Created: 7/27/2020
Status: Merged
Merged: 8/8/2020
Merged by: @bluejekyll

Base: mainHead: dependabot/cargo/tokio-0.2.22


📝 Commits (1)

  • a8178be Bump tokio from 0.2.21 to 0.2.22

📊 Changes

11 files changed (+14 additions, -14 deletions)

View changed files

📝 Cargo.lock (+2 -2)
📝 bin/Cargo.toml (+1 -1)
📝 crates/client/Cargo.toml (+1 -1)
📝 crates/https/Cargo.toml (+1 -1)
📝 crates/native-tls/Cargo.toml (+1 -1)
📝 crates/openssl/Cargo.toml (+2 -2)
📝 crates/proto/Cargo.toml (+2 -2)
📝 crates/resolver/Cargo.toml (+1 -1)
📝 crates/rustls/Cargo.toml (+1 -1)
📝 crates/server/Cargo.toml (+1 -1)
📝 tests/integration-tests/Cargo.toml (+1 -1)

📄 Description

Bumps tokio from 0.2.21 to 0.2.22.

Release notes

Sourced from tokio's releases.

Tokio v0.2.22

This release introduces initial support for tracing instrumentation within the Tokio runtime, enabled by the "tracing" feature flag. In addition, it contains a number of bug fixes and API additions.

Fixes

Changes

  • coop: returning Poll::Pending no longer decrements the task budget (#2549)

Added

  • io: little-endian variants of AsyncReadExt and AsyncWriteExt methods (#1915)
  • task: add tracing instrumentation to spawned tasks (#2655)
  • sync: allow unsized types in Mutex and RwLock (via default constructors) (#2615)
  • net: add ToSocketAddrs implementation for &[SocketAddr] (#2604)
  • fs: add OpenOptionsExt for OpenOptions (#2515)
  • fs: add DirBuilder (#2524)

Signed-off-by: Eliza Weisman eliza@buoyant.io

Commits

Dependabot compatibility score

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 commands and options

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:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hickory-dns/hickory-dns/pull/1175 **Author:** [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) **Created:** 7/27/2020 **Status:** ✅ Merged **Merged:** 8/8/2020 **Merged by:** [@bluejekyll](https://github.com/bluejekyll) **Base:** `main` ← **Head:** `dependabot/cargo/tokio-0.2.22` --- ### 📝 Commits (1) - [`a8178be`](https://github.com/hickory-dns/hickory-dns/commit/a8178be4b145b4a2f69815a709437e74bb81734b) Bump tokio from 0.2.21 to 0.2.22 ### 📊 Changes **11 files changed** (+14 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+2 -2) 📝 `bin/Cargo.toml` (+1 -1) 📝 `crates/client/Cargo.toml` (+1 -1) 📝 `crates/https/Cargo.toml` (+1 -1) 📝 `crates/native-tls/Cargo.toml` (+1 -1) 📝 `crates/openssl/Cargo.toml` (+2 -2) 📝 `crates/proto/Cargo.toml` (+2 -2) 📝 `crates/resolver/Cargo.toml` (+1 -1) 📝 `crates/rustls/Cargo.toml` (+1 -1) 📝 `crates/server/Cargo.toml` (+1 -1) 📝 `tests/integration-tests/Cargo.toml` (+1 -1) </details> ### 📄 Description Bumps [tokio](https://github.com/tokio-rs/tokio) from 0.2.21 to 0.2.22. <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.22</h2> <p>This release introduces initial support for <a href="https://crates.io/crates/tracing"><code>tracing</code></a> 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> <li>io: Fix <code>BufReader</code> not correctly forwarding <code>poll_write_buf</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2654">#2654</a>)</li> <li>io: fix panic in <code>AsyncReadExt::read_line</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2541">#2541</a>)</li> </ul> <h3>Changes</h3> <ul> <li>coop: returning <code>Poll::Pending</code> no longer decrements the task budget (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2549">#2549</a>)</li> </ul> <h3>Added</h3> <ul> <li>io: little-endian variants of <code>AsyncReadExt</code> and <code>AsyncWriteExt</code> methods (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/1915">#1915</a>)</li> <li>task: add <a href="https://crates.io/crates/tracing"><code>tracing</code></a> instrumentation to spawned tasks (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2655">#2655</a>)</li> <li>sync: allow unsized types in <code>Mutex</code> and <code>RwLock</code> (via <code>default</code> constructors) (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2615">#2615</a>)</li> <li>net: add <code>ToSocketAddrs</code> implementation for <code>&amp;[SocketAddr]</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2604">#2604</a>)</li> <li>fs: add <code>OpenOptionsExt</code> for <code>OpenOptions</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2515">#2515</a>)</li> <li>fs: add <code>DirBuilder</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2524">#2524</a>)</li> </ul> <p>Signed-off-by: Eliza Weisman <a href="mailto:eliza@buoyant.io">eliza@buoyant.io</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tokio-rs/tokio/commit/21f726041cf9a4ca408d97394af220caf90312ed"><code>21f7260</code></a> chore: prepare to release 0.2.22 (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2672">#2672</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/c344aac9252c34fcce196200a99529734b5cb9e8"><code>c344aac</code></a> sync: support larger number of semaphore permits (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2607">#2607</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/cbb4abc8aeee1f7304ce6c0d6b160ce99dd2c8cf"><code>cbb4abc</code></a> chore: add audit check (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2595">#2595</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/14723f9786260ad115aae788c9753a44edf0394d"><code>14723f9</code></a> doc: update links in README.md and CONTRIBUTING.md (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2609">#2609</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/04a2826084743e80762a32fcee912a3dfbb86a63"><code>04a2826</code></a> provide a way to drop a runtime in an async context (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2646">#2646</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/28a93e604454d435476eb8bb2eee809fd86b001d"><code>28a93e6</code></a> Update doc comments (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2572">#2572</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/dd28831e1301f09b992dabf5f9e47656ee6d981c"><code>dd28831</code></a> io: Forward poll_write_buf on BufReader (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2654">#2654</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/6dcce1901a53f099bf10f242943b44010f264171"><code>6dcce19</code></a> sync: remove misleading comment (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2666">#2666</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/32f46d7b883e1447833630464f168bb160fb51c9"><code>32f46d7</code></a> time: improve Entry field comment (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2671">#2671</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/356c81c97780f69f0897f4797d87a9cc2620678c"><code>356c81c</code></a> dns: document that strings require the DNS feature (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2663">#2663</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tokio-rs/tokio/compare/tokio-0.2.21...tokio-0.2.22">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=tokio&package-manager=cargo&previous-version=0.2.21&new-version=0.2.22)](https://dependabot.com/compatibility-score/?dependency-name=tokio&package-manager=cargo&previous-version=0.2.21&new-version=0.2.22) 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) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 05:01:00 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#2050
No description provided.