[PR #1000] [CLOSED] Bump tokio from 0.2.9 to 0.2.10 #1858

Closed
opened 2026-03-16 02:36:40 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/1000
Author: @dependabot-preview[bot]
Created: 1/27/2020
Status: Closed

Base: masterHead: dependabot/cargo/tokio-0.2.10


📝 Commits (1)

  • 3093bf6 Bump tokio from 0.2.9 to 0.2.10

📊 Changes

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

View changed files

📝 Cargo.lock (+17 -17)
📝 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 (+1 -1)
📝 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.9 to 0.2.10.

Release notes

Sourced from tokio's releases.

Tokio v0.2.10

Introduces a task-local storage solution that works with Rust's "task" concept and supports multiplexing futures on the same runtime task (#2126). A number of other incremental improvements are included.

This release includes a few fixes, including fixing a scenario in which undefined behavior could be introduced when the user provided a buggy AsyncRead implementation.

Fixes

  • #[tokio::main] when rt-core feature flag is not enabled (#2139).
  • remove AsyncBufRead from BufStream impl block (#2108).
  • potential undefined behavior when implementing AsyncRead incorrectly (#2030).

Added

  • BufStream::with_capacity (#2125).
  • impl From and Default for RwLock (#2089).
  • io::ReadHalf::is_pair_of checks if provided WriteHalf is for the same underlying object (#1762, #2144).
  • runtime::Handle::try_current() returns a handle to the current runtime (#2118).
  • stream::empty() returns an immediately ready empty stream (#2092).
  • stream::once(val) returns a stream that yields a single value: val (#2094).
  • stream::pending() returns a stream that never becomes ready (#2092).
  • StreamExt::chain() sequences a second stream after the first completes (#2093).
  • StreamExt::collect() transform a stream into a collection (#2109).
  • StreamExt::fuse ends the stream after the first None (#2085).
  • StreamExt::merge combines two streams, yielding values as they become ready (#2091).
  • Task-local storage (#2126).
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/1000 **Author:** [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) **Created:** 1/27/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/cargo/tokio-0.2.10` --- ### 📝 Commits (1) - [`3093bf6`](https://github.com/hickory-dns/hickory-dns/commit/3093bf64dceab534ef72e8148eca94d6820504eb) Bump tokio from 0.2.9 to 0.2.10 ### 📊 Changes **11 files changed** (+28 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+17 -17) 📝 `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` (+1 -1) 📝 `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.9 to 0.2.10. <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.10</h2> <p>Introduces a task-local storage solution that works with Rust's &quot;task&quot; concept and supports multiplexing futures on the same runtime task (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2126">#2126</a>). A number of other incremental improvements are included.</p> <p>This release includes a few fixes, including fixing a scenario in which undefined behavior could be introduced when the user provided a buggy <code>AsyncRead</code> implementation.</p> <h3>Fixes</h3> <ul> <li><code>#[tokio::main]</code> when <code>rt-core</code> feature flag is not enabled (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2139">#2139</a>).</li> <li>remove <code>AsyncBufRead</code> from <code>BufStream</code> impl block (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2108">#2108</a>).</li> <li>potential undefined behavior when implementing <code>AsyncRead</code> incorrectly (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2030">#2030</a>).</li> </ul> <h3>Added</h3> <ul> <li><code>BufStream::with_capacity</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2125">#2125</a>).</li> <li>impl <code>From</code> and <code>Default</code> for <code>RwLock</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2089">#2089</a>).</li> <li><code>io::ReadHalf::is_pair_of</code> checks if provided <code>WriteHalf</code> is for the same underlying object (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/1762">#1762</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2144">#2144</a>).</li> <li><code>runtime::Handle::try_current()</code> returns a handle to the current runtime (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2118">#2118</a>).</li> <li><code>stream::empty()</code> returns an immediately ready empty stream (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2092">#2092</a>).</li> <li><code>stream::once(val)</code> returns a stream that yields a single value: <code>val</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2094">#2094</a>).</li> <li><code>stream::pending()</code> returns a stream that never becomes ready (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2092">#2092</a>).</li> <li><code>StreamExt::chain()</code> sequences a second stream after the first completes (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2093">#2093</a>).</li> <li><code>StreamExt::collect()</code> transform a stream into a collection (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2109">#2109</a>).</li> <li><code>StreamExt::fuse</code> ends the stream after the first <code>None</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2085">#2085</a>).</li> <li><code>StreamExt::merge</code> combines two streams, yielding values as they become ready (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2091">#2091</a>).</li> <li>Task-local storage (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2126">#2126</a>).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tokio-rs/tokio/commit/bffbaab30d52cd6d6dabf22b3f4e5f028d1abcac"><code>bffbaab</code></a> chore: prepare v0.2.10 release (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2148">#2148</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/a5e774bb38f3d0c6dc0e32d3b083021f5bc388fd"><code>a5e774b</code></a> sync: derive PartialEq for error enums (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2137">#2137</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/0bb17300f70ef74e335f4ada65706872451603b3"><code>0bb1730</code></a> sync: add std error impl for broadcast errors (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2141">#2141</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/c7719a2d2962f83854193b4c9131ee275a5a4475"><code>c7719a2</code></a> io: simplify split check (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2144">#2144</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/38bff0adda393f8121225727d93cb342d8363979"><code>38bff0a</code></a> macros: fix <code>#[tokio::main]</code> without rt-core (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2139">#2139</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/fbe143b142875977f49772d2905029b57b92e429"><code>fbe143b</code></a> fix: Prevent undefined behaviour from malicious AsyncRead impl (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2030">#2030</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/9df805ff5449527d1fead3e9533152c4a357c24c"><code>9df805f</code></a> chore: do not depend on <code>loom</code> on windows (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2146">#2146</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/5d82ac2d1e7739a789a6aa014301355d6c0550d9"><code>5d82ac2</code></a> readme: Add more related tokio projects (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2128">#2128</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/5bf78d77ada685826b33fd62e69df179f3de8a1c"><code>5bf78d7</code></a> Add a method to test if split streams come from the same stream. (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/1762">#1762</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/3176d0a48a796c9d5437a76995bc11ca85390df4"><code>3176d0a</code></a> io: add <code>BufStream::with_capacity</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2125">#2125</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tokio-rs/tokio/compare/tokio-0.2.9...tokio-0.2.10">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.9&new-version=0.2.10)](https://dependabot.com/compatibility-score.html?dependency-name=tokio&package-manager=cargo&previous-version=0.2.9&new-version=0.2.10) 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 02:36:40 +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#1858
No description provided.