Update Rust crate tokio to 1.46.1 #324

Open
renovate wants to merge 1 commits from renovate/tokio-1.x into master
Collaborator

This PR contains the following updates:

Package Type Update Change
tokio (source) dependencies minor 1.45.0 -> 1.46.1

Release Notes

tokio-rs/tokio (tokio)

v1.46.1: Tokio v1.46.1

Compare Source

1.46.1 (July 4th, 2025)

This release fixes incorrect spawn locations in runtime task hooks for tasks
spawned using tokio::spawn rather than Runtime::spawn. This issue only
effected the spawn location in TaskMeta::spawned_at, and did not effect task
locations in Tracing events.

Unstable

  • runtime: add TaskMeta::spawn_location tracking where a task was spawned
    (#​7440)

v1.46.0: Tokio v1.46.0

Compare Source

1.46.0 (July 2nd, 2025)

Fixed
  • net: fixed TcpStream::shutdown incorrectly returning an error on macOS (#​7290)

Added

  • sync: mpsc::OwnedPermit::{same_channel, same_channel_as_sender} methods (#​7389)
  • macros: biased option for join! and try_join!, similar to select! (#​7307)
  • net: support for cygwin (#​7393)
  • net: support pope::OpenOptions::read_write on Android (#​7426)
  • net: add Clone implementation for net::unix::SocketAddr (#​7422)

Changed

  • runtime: eliminate unnecessary lfence while operating on queue::Local<T> (#​7340)
  • task: disallow blocking in LocalSet::{poll,drop} (#​7372)

Unstable

  • runtime: add TaskMeta::spawn_location tracking where a task was spawned (#​7417)
  • runtime: removed borrow from LocalOptions parameter to runtime::Builder::build_local (#​7346)

Documented

  • io: clarify behavior of seeking when start_seek is not used (#​7366)
  • io: document cancellation safety of AsyncWriteExt::flush (#​7364)
  • net: fix docs for recv_buffer_size method (#​7336)
  • net: fix broken link of RawFd in TcpSocket docs (#​7416)
  • net: update AsRawFd doc link to current Rust stdlib location (#​7429)
  • readme: fix double period in reactor description (#​7363)
  • runtime: add doc note that on_*_task_poll is unstable (#​7311)
  • sync: update broadcast docs on allocation failure (#​7352)
  • time: add a missing panic scenario of time::advance (#​7394)

v1.45.1: Tokio v1.45.1

Compare Source

1.45.1 (May 24th, 2025)

This fixes a regression on the wasm32-unknown-unknown target, where code that previously did not panic due to calls to Instant::now() started failing. This is due to the stabilization of the first time-based metric.

Fixed
  • Disable time-based metrics on wasm32-unknown-unknown (#​7322)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [tokio](https://tokio.rs) ([source](https://github.com/tokio-rs/tokio)) | dependencies | minor | `1.45.0` -> `1.46.1` | --- ### Release Notes <details> <summary>tokio-rs/tokio (tokio)</summary> ### [`v1.46.1`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.46.1): Tokio v1.46.1 [Compare Source](https://github.com/tokio-rs/tokio/compare/tokio-1.46.0...tokio-1.46.1) ### 1.46.1 (July 4th, 2025) This release fixes incorrect spawn locations in runtime task hooks for tasks spawned using `tokio::spawn` rather than `Runtime::spawn`. This issue only effected the spawn location in `TaskMeta::spawned_at`, and did not effect task locations in Tracing events. #### Unstable - runtime: add `TaskMeta::spawn_location` tracking where a task was spawned ([#&#8203;7440]) [#&#8203;7440]: https://github.com/tokio-rs/tokio/pull/7440 ### [`v1.46.0`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.46.0): Tokio v1.46.0 [Compare Source](https://github.com/tokio-rs/tokio/compare/tokio-1.45.1...tokio-1.46.0) ### 1.46.0 (July 2nd, 2025) ##### Fixed - net: fixed `TcpStream::shutdown` incorrectly returning an error on macOS ([#&#8203;7290]) #### Added - sync: `mpsc::OwnedPermit::{same_channel, same_channel_as_sender}` methods ([#&#8203;7389]) - macros: `biased` option for `join!` and `try_join!`, similar to `select!` ([#&#8203;7307]) - net: support for cygwin ([#&#8203;7393]) - net: support `pope::OpenOptions::read_write` on Android ([#&#8203;7426]) - net: add `Clone` implementation for `net::unix::SocketAddr` ([#&#8203;7422]) #### Changed - runtime: eliminate unnecessary lfence while operating on `queue::Local<T>` ([#&#8203;7340]) - task: disallow blocking in `LocalSet::{poll,drop}` ([#&#8203;7372]) #### Unstable - runtime: add `TaskMeta::spawn_location` tracking where a task was spawned ([#&#8203;7417]) - runtime: removed borrow from `LocalOptions` parameter to `runtime::Builder::build_local` ([#&#8203;7346]) #### Documented - io: clarify behavior of seeking when `start_seek` is not used ([#&#8203;7366]) - io: document cancellation safety of `AsyncWriteExt::flush` ([#&#8203;7364]) - net: fix docs for `recv_buffer_size` method ([#&#8203;7336]) - net: fix broken link of `RawFd` in `TcpSocket` docs ([#&#8203;7416]) - net: update `AsRawFd` doc link to current Rust stdlib location ([#&#8203;7429]) - readme: fix double period in reactor description ([#&#8203;7363]) - runtime: add doc note that `on_*_task_poll` is unstable ([#&#8203;7311]) - sync: update broadcast docs on allocation failure ([#&#8203;7352]) - time: add a missing panic scenario of `time::advance` ([#&#8203;7394]) [#&#8203;7290]: https://github.com/tokio-rs/tokio/pull/7290 [#&#8203;7307]: https://github.com/tokio-rs/tokio/pull/7307 [#&#8203;7311]: https://github.com/tokio-rs/tokio/pull/7311 [#&#8203;7336]: https://github.com/tokio-rs/tokio/pull/7336 [#&#8203;7340]: https://github.com/tokio-rs/tokio/pull/7340 [#&#8203;7346]: https://github.com/tokio-rs/tokio/pull/7346 [#&#8203;7352]: https://github.com/tokio-rs/tokio/pull/7352 [#&#8203;7363]: https://github.com/tokio-rs/tokio/pull/7363 [#&#8203;7364]: https://github.com/tokio-rs/tokio/pull/7364 [#&#8203;7366]: https://github.com/tokio-rs/tokio/pull/7366 [#&#8203;7372]: https://github.com/tokio-rs/tokio/pull/7372 [#&#8203;7389]: https://github.com/tokio-rs/tokio/pull/7389 [#&#8203;7393]: https://github.com/tokio-rs/tokio/pull/7393 [#&#8203;7394]: https://github.com/tokio-rs/tokio/pull/7394 [#&#8203;7416]: https://github.com/tokio-rs/tokio/pull/7416 [#&#8203;7422]: https://github.com/tokio-rs/tokio/pull/7422 [#&#8203;7426]: https://github.com/tokio-rs/tokio/pull/7426 [#&#8203;7429]: https://github.com/tokio-rs/tokio/pull/7429 [#&#8203;7417]: https://github.com/tokio-rs/tokio/pull/7417 ### [`v1.45.1`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.45.1): Tokio v1.45.1 [Compare Source](https://github.com/tokio-rs/tokio/compare/tokio-1.45.0...tokio-1.45.1) ### 1.45.1 (May 24th, 2025) This fixes a regression on the wasm32-unknown-unknown target, where code that previously did not panic due to calls to `Instant::now()` started failing. This is due to the stabilization of the first time-based metric. ##### Fixed - Disable time-based metrics on wasm32-unknown-unknown ([#&#8203;7322]) [#&#8203;7322]: https://github.com/tokio-rs/tokio/pull/7322 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4yOS4xIiwidXBkYXRlZEluVmVyIjoiNDEuMjEuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
renovate added 1 commit 2025-05-25 00:10:20 +00:00
Update Rust crate tokio to 1.45.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
60c629f35d
renovate force-pushed renovate/tokio-1.x from 60c629f35d to 8d5c43a35b 2025-05-26 00:10:34 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 8d5c43a35b to 3d4750de21 2025-05-27 00:10:00 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 3d4750de21 to 5cdbb58c03 2025-05-28 00:11:36 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 5cdbb58c03 to 9334b984ae 2025-05-30 00:10:34 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 9334b984ae to 58c3257d1d 2025-05-31 00:10:56 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 58c3257d1d to 304f0a4d2a 2025-06-01 00:23:51 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 304f0a4d2a to 15e7be60a0 2025-06-02 00:23:59 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 15e7be60a0 to 1e208f9e76 2025-06-03 00:25:58 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 1e208f9e76 to 0302902f84 2025-06-04 00:25:24 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 0302902f84 to 096bb03ed1 2025-06-05 00:24:22 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 096bb03ed1 to e8b9b5a563 2025-06-06 00:24:45 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from e8b9b5a563 to 47fa43dbbb 2025-06-07 00:25:00 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 47fa43dbbb to a314e6b41f 2025-06-09 00:25:22 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from a314e6b41f to ee44ad4311 2025-06-10 00:26:07 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from ee44ad4311 to 81ad70b0fb 2025-06-11 00:26:17 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 81ad70b0fb to 270bead4f5 2025-06-12 00:26:08 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 270bead4f5 to 5bc89bc847 2025-06-13 00:25:23 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 5bc89bc847 to 6125247542 2025-06-14 00:25:24 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 6125247542 to 7c6b98c4cb 2025-06-15 00:24:54 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 7c6b98c4cb to 2cadfe59f9 2025-06-16 00:24:48 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 2cadfe59f9 to debe4f2579 2025-06-17 00:25:28 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from debe4f2579 to 86abdef45b 2025-06-18 00:24:41 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 86abdef45b to 1dc13ab438 2025-06-19 00:23:14 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 1dc13ab438 to 05464fcfa5 2025-06-20 00:25:13 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 05464fcfa5 to 62bad6a572 2025-06-21 00:23:32 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 62bad6a572 to 87484d50b1 2025-06-22 00:22:49 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 87484d50b1 to 0d0a2ece37 2025-06-23 00:24:18 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 0d0a2ece37 to 7ed7f6b11a 2025-06-24 00:14:02 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 7ed7f6b11a to 6cc6f0aea8 2025-06-25 00:11:54 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 6cc6f0aea8 to 636fe9b5e5 2025-06-26 00:11:58 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 636fe9b5e5 to 03eb3b6178 2025-06-27 00:12:36 +00:00 Compare
renovate changed title from Update Rust crate tokio to 1.45.1 to Update Rust crate tokio to 1.46.0 2025-07-03 00:11:21 +00:00
renovate force-pushed renovate/tokio-1.x from 03eb3b6178 to 9126dadd22 2025-07-03 00:11:21 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 9126dadd22 to 5ad2f06773 2025-07-04 00:12:37 +00:00 Compare
renovate changed title from Update Rust crate tokio to 1.46.0 to Update Rust crate tokio to 1.46.1 2025-07-05 00:12:46 +00:00
renovate force-pushed renovate/tokio-1.x from 5ad2f06773 to 12acd8b566 2025-07-05 00:12:46 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 12acd8b566 to 6681eafa2e 2025-07-06 00:19:05 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 6681eafa2e to 40577a8bcc 2025-07-07 00:18:50 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 40577a8bcc to 094965cae1 2025-07-08 00:19:28 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 094965cae1 to 049ff90ee4 2025-07-09 00:19:26 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 049ff90ee4 to 8c0375fe33 2025-07-10 00:20:18 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 8c0375fe33 to 1a1e2c36dd 2025-07-11 00:19:20 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 1a1e2c36dd to 0e16a677e3 2025-07-12 00:19:04 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 0e16a677e3 to 1228ca140c 2025-07-13 00:18:56 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 1228ca140c to 8f68d00151 2025-07-14 00:19:06 +00:00 Compare
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/tokio-1.x:renovate/tokio-1.x
git checkout renovate/tokio-1.x
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pierre/VirtWeb#324
No description provided.