Skip to content

Commit

Permalink
Bump tokio from 1.38.1 to 1.40.0 (#91)
Browse files Browse the repository at this point in the history
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.38.1 to 1.40.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.40.0</h2>
<h1>1.40.0 (August 30th, 2024)</h1>
<h3>Added</h3>
<ul>
<li>io: add <code>util::SimplexStream</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6589">#6589</a>)</li>
<li>process: stabilize <code>Command::process_group</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6731">#6731</a>)</li>
<li>sync: add <code>{TrySendError,SendTimeoutError}::into_inner</code>
(<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6755">#6755</a>)</li>
<li>task: add <code>JoinSet::join_all</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6784">#6784</a>)</li>
</ul>
<h3>Added (unstable)</h3>
<ul>
<li>runtime: add <code>Builder::{on_task_spawn,
on_task_terminate}</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6742">#6742</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>io: use vectored io for <code>write_all_buf</code> when possible (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6724">#6724</a>)</li>
<li>runtime: prevent niche-optimization to avoid triggering miri (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6744">#6744</a>)</li>
<li>sync: mark mpsc types as <code>UnwindSafe</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6783">#6783</a>)</li>
<li>sync,time: make <code>Sleep</code> and <code>BatchSemaphore</code>
instrumentation explicit roots (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6727">#6727</a>)</li>
<li>task: use <code>NonZeroU64</code> for <code>task::Id</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6733">#6733</a>)</li>
<li>task: include panic message when printing <code>JoinError</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6753">#6753</a>)</li>
<li>task: add <code>#[must_use]</code> to
<code>JoinHandle::abort_handle</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6762">#6762</a>)</li>
<li>time: eliminate timer wheel allocations (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6779">#6779</a>)</li>
</ul>
<h3>Documented</h3>
<ul>
<li>docs: clarify that <code>[build]</code> section doesn't go in
Cargo.toml (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6728">#6728</a>)</li>
<li>io: clarify zero remaining capacity case (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6790">#6790</a>)</li>
<li>macros: improve documentation for <code>select!</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6774">#6774</a>)</li>
<li>sync: document mpsc channel allocation behavior (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6773">#6773</a>)</li>
</ul>
<p><a
href="https://redirect.github.com/tokio-rs/tokio/issues/6589">#6589</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6589">tokio-rs/tokio#6589</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6724">#6724</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6724">tokio-rs/tokio#6724</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6727">#6727</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6727">tokio-rs/tokio#6727</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6728">#6728</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6728">tokio-rs/tokio#6728</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6731">#6731</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6731">tokio-rs/tokio#6731</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6733">#6733</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6733">tokio-rs/tokio#6733</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6742">#6742</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6742">tokio-rs/tokio#6742</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6744">#6744</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6744">tokio-rs/tokio#6744</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6753">#6753</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6753">tokio-rs/tokio#6753</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6755">#6755</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6755">tokio-rs/tokio#6755</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6762">#6762</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6762">tokio-rs/tokio#6762</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6773">#6773</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6773">tokio-rs/tokio#6773</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6774">#6774</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6774">tokio-rs/tokio#6774</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6779">#6779</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6779">tokio-rs/tokio#6779</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6783">#6783</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6783">tokio-rs/tokio#6783</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6784">#6784</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6784">tokio-rs/tokio#6784</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6790">#6790</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6790">tokio-rs/tokio#6790</a></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tokio-rs/tokio/commit/ea6d652a102dee3f22b490db70545b7f66a23fb7"><code>ea6d652</code></a>
chore: prepare Tokio v1.40.0 (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6806">#6806</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/11f66f43a09169b893212b854c6c49985ff2224f"><code>11f66f4</code></a>
chore: replace <code>ready!</code> with <code>std::task::ready!</code>
(<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6804">#6804</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/479a56a010d25f86207841ec4fcc685402addcad"><code>479a56a</code></a>
time: eliminate timer wheel allocations (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6779">#6779</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/b37f0de28a17ced6a9e6738062770d6fea8c5364"><code>b37f0de</code></a>
runtime: implement initial set of task hooks (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6742">#6742</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/c9fad0846667c86d96ec151354229f2833fd9e1b"><code>c9fad08</code></a>
codec: fix typo in the docs for <code>Encoder::Error</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6800">#6800</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/cc70a211ad4ce71388c99e8af7480f3ddddbf602"><code>cc70a21</code></a>
task: add <code>join_all</code> method to <code>JoinSet</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6784">#6784</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/1ac8dff213937088616dc84de9adc92b4b68c49a"><code>1ac8dff</code></a>
task: add <code>AbortOnDropHandle</code> type (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6786">#6786</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/ff3f2a8878c04141a0e3e3c0f65a74c9f31a2e11"><code>ff3f2a8</code></a>
io: add <code>SimplexStream</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6589">#6589</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/5b9a290acd25d88416e70c73c49a54106fcf02b5"><code>5b9a290</code></a>
io: clarify zero remaining capacity case (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6790">#6790</a>)</li>
<li><a
href="https://github.com/tokio-rs/tokio/commit/70569bd0090a3f64aa23c5fccc1d434e04bd90b0"><code>70569bd</code></a>
task: fix typo in <code>TaskTracker</code> docs (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6792">#6792</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/tokio-rs/tokio/compare/tokio-1.38.1...tokio-1.40.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.38.1&new-version=1.40.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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Sep 4, 2024
1 parent 772b8d4 commit 83053e7
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 106 deletions.
134 changes: 29 additions & 105 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ anyhow = "1.0.86"
camino = "1.1.7"
csv = "1.3.0"
reqwest = { version = "0.12.7", features = ["json", "stream"] }
tokio = { version = "1.38.1", features = ["full"] }
tokio = { version = "1.40.0", features = ["full"] }
tokio-util = "0.7.11"
regex = "1.10.6"
chrono = "0.4.32"
Expand Down

0 comments on commit 83053e7

Please sign in to comment.