Update Rust crate tokio to v1.52.1 (#19178)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [tokio](https://tokio.rs)
([source](https://redirect.github.com/tokio-rs/tokio)) |
workspace.dependencies | minor | `1.51.1` → `1.52.1` |

---

### Release Notes

<details>
<summary>tokio-rs/tokio (tokio)</summary>

###
[`v1.52.1`](https://redirect.github.com/tokio-rs/tokio/releases/tag/tokio-1.52.1):
Tokio v1.52.1

[Compare
Source](https://redirect.github.com/tokio-rs/tokio/compare/tokio-1.52.0...tokio-1.52.1)

### 1.52.1 (April 16th, 2026)

#### Fixed

- runtime: revert [#&#8203;7757] to fix [a regression][#&#8203;8056]
that causes `spawn_blocking` to hang ([#&#8203;8057])

[#&#8203;7757]: https://redirect.github.com/tokio-rs/tokio/pull/7757

[#&#8203;8056]: https://redirect.github.com/tokio-rs/tokio/pull/8056

[#&#8203;8057]: https://redirect.github.com/tokio-rs/tokio/pull/8057

###
[`v1.52.0`](https://redirect.github.com/tokio-rs/tokio/releases/tag/tokio-1.52.0):
Tokio v1.52.0

[Compare
Source](https://redirect.github.com/tokio-rs/tokio/compare/tokio-1.51.1...tokio-1.52.0)

### 1.52.0 (April 14th, 2026)

#### Added

- io: `AioSource::register_borrowed` for I/O safety support
([#&#8203;7992])
- net: add `try_io` function to `unix::pipe` sender and receiver types
([#&#8203;8030])

#### Added (unstable)

- runtime: `Builder::enable_eager_driver_handoff` setting enable eager
hand off of the I/O and time drivers before polling tasks
([#&#8203;8010])
- taskdump: add `trace_with()` for customized task dumps
([#&#8203;8025])
- taskdump: allow `impl FnMut()` in `trace_with` instead of just `fn()`
([#&#8203;8040])
- fs: support `io_uring` in `AsyncRead` for `File` ([#&#8203;7907])

#### Changed

- runtime: improve `spawn_blocking` scalability with sharded queue
([#&#8203;7757])
- runtime: use `compare_exchange_weak()` in worker queue
([#&#8203;8028])

#### Fixed

- runtime: overflow second half of tasks when local queue is filled
instead of first half ([#&#8203;8029])

#### Documented

- docs: fix typo in `oneshot::Sender::send` docs ([#&#8203;8026])
- docs: hide #\[tokio::main] attribute in the docs of `sync::watch`
([#&#8203;8035])
- net: add docs on `ConnectionRefused` errors with UDP sockets
([#&#8203;7870])

[#&#8203;7757]: https://redirect.github.com/tokio-rs/tokio/pull/7757

[#&#8203;7870]: https://redirect.github.com/tokio-rs/tokio/pull/7870

[#&#8203;7907]: https://redirect.github.com/tokio-rs/tokio/pull/7907

[#&#8203;7992]: https://redirect.github.com/tokio-rs/tokio/pull/7992

[#&#8203;8010]: https://redirect.github.com/tokio-rs/tokio/pull/8010

[#&#8203;8025]: https://redirect.github.com/tokio-rs/tokio/pull/8025

[#&#8203;8026]: https://redirect.github.com/tokio-rs/tokio/pull/8026

[#&#8203;8028]: https://redirect.github.com/tokio-rs/tokio/pull/8028

[#&#8203;8029]: https://redirect.github.com/tokio-rs/tokio/pull/8029

[#&#8203;8030]: https://redirect.github.com/tokio-rs/tokio/pull/8030

[#&#8203;8035]: https://redirect.github.com/tokio-rs/tokio/pull/8035

[#&#8203;8040]: https://redirect.github.com/tokio-rs/tokio/pull/8040

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - Between 12:00 AM and 03:59 AM, only on Monday (`* 0-3 * * 1`)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/astral-sh/uv).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjQzLjE0MS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJidWlsZDpza2lwLWRvY2tlciIsImJ1aWxkOnNraXAtcmVsZWFzZSIsImludGVybmFsIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2026-04-27 10:52:59 -05:00
committed by GitHub
parent 7e775d5b80
commit 4a331cc83d
Generated
+2 -2
View File
@@ -5205,9 +5205,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "tokio"
version = "1.51.1"
version = "1.52.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f66bf9585cda4b724d3e78ab34b73fb2bbaba9011b9bfdf69dc836382ea13b8c"
checksum = "b67dee974fe86fd92cc45b7a95fdd2f99a36a6d7b0d431a231178d3d670bbcc6"
dependencies = [
"bytes",
"libc",