From 883cbe4e5eafbe611dd0b39a34336e7d300646e7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 16:00:13 +0000 Subject: [PATCH] Update Rust crate tokio to v1.49.0 (#17599) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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.47.1` → `1.49.0` | --- ### Release Notes
tokio-rs/tokio (tokio) ### [`v1.49.0`](https://redirect.github.com/tokio-rs/tokio/releases/tag/tokio-1.49.0): Tokio v1.49.0 [Compare Source](https://redirect.github.com/tokio-rs/tokio/compare/tokio-1.48.0...tokio-1.49.0) ##### 1.49.0 (January 3rd, 2026) ##### Added - net: add support for `TCLASS` option on IPv6 ([#​7781]) - runtime: stabilize `runtime::id::Id` ([#​7125]) - task: implement `Extend` for `JoinSet` ([#​7195]) - task: stabilize the `LocalSet::id()` ([#​7776]) ##### Changed - net: deprecate `{TcpStream,TcpSocket}::set_linger` ([#​7752]) ##### Fixed - macros: fix the hygiene issue of `join!` and `try_join!` ([#​7766]) - runtime: revert "replace manual vtable definitions with Wake" ([#​7699]) - sync: return `TryRecvError::Disconnected` from `Receiver::try_recv` after `Receiver::close` ([#​7686]) - task: remove unnecessary trait bounds on the `Debug` implementation ([#​7720]) ##### Unstable - fs: handle `EINTR` in `fs::write` for io-uring ([#​7786]) - fs: support io-uring with `tokio::fs::read` ([#​7696]) - runtime: disable io-uring on `EPERM` ([#​7724]) - time: add alternative timer for better multicore scalability ([#​7467]) ##### Documented - docs: fix a typos in `bounded.rs` and `park.rs` ([#​7817]) - io: add `SyncIoBridge` cross-references to `copy` and `copy_buf` ([#​7798]) - io: doc that `AsyncWrite` does not inherit from `std::io::Write` ([#​7705]) - metrics: clarify that `num_alive_tasks` is not strongly consistent ([#​7614]) - net: clarify the cancellation safety of the `TcpStream::peek` ([#​7305]) - net: clarify the drop behavior of `unix::OwnedWriteHalf` ([#​7742]) - net: clarify the platform-dependent backlog in `TcpSocket` docs ([#​7738]) - runtime: mention `LocalRuntime` in `new_current_thread` docs ([#​7820]) - sync: add missing period to `mpsc::Sender::try_send` docs ([#​7721]) - sync: clarify the cancellation safety of `oneshot::Receiver` ([#​7780]) - sync: improve the docs for the `errors` of mpsc ([#​7722]) - task: add example for `spawn_local` usage on local runtime ([#​7689]) [#​7125]: https://redirect.github.com/tokio-rs/tokio/pull/7125 [#​7195]: https://redirect.github.com/tokio-rs/tokio/pull/7195 [#​7305]: https://redirect.github.com/tokio-rs/tokio/pull/7305 [#​7467]: https://redirect.github.com/tokio-rs/tokio/pull/7467 [#​7614]: https://redirect.github.com/tokio-rs/tokio/pull/7614 [#​7686]: https://redirect.github.com/tokio-rs/tokio/pull/7686 [#​7689]: https://redirect.github.com/tokio-rs/tokio/pull/7689 [#​7696]: https://redirect.github.com/tokio-rs/tokio/pull/7696 [#​7699]: https://redirect.github.com/tokio-rs/tokio/pull/7699 [#​7705]: https://redirect.github.com/tokio-rs/tokio/pull/7705 [#​7720]: https://redirect.github.com/tokio-rs/tokio/pull/7720 [#​7721]: https://redirect.github.com/tokio-rs/tokio/pull/7721 [#​7722]: https://redirect.github.com/tokio-rs/tokio/pull/7722 [#​7724]: https://redirect.github.com/tokio-rs/tokio/pull/7724 [#​7738]: https://redirect.github.com/tokio-rs/tokio/pull/7738 [#​7742]: https://redirect.github.com/tokio-rs/tokio/pull/7742 [#​7752]: https://redirect.github.com/tokio-rs/tokio/pull/7752 [#​7766]: https://redirect.github.com/tokio-rs/tokio/pull/7766 [#​7776]: https://redirect.github.com/tokio-rs/tokio/pull/7776 [#​7780]: https://redirect.github.com/tokio-rs/tokio/pull/7780 [#​7781]: https://redirect.github.com/tokio-rs/tokio/pull/7781 [#​7786]: https://redirect.github.com/tokio-rs/tokio/pull/7786 [#​7798]: https://redirect.github.com/tokio-rs/tokio/pull/7798 [#​7817]: https://redirect.github.com/tokio-rs/tokio/pull/7817 [#​7820]: https://redirect.github.com/tokio-rs/tokio/pull/7820 ### [`v1.48.0`](https://redirect.github.com/tokio-rs/tokio/releases/tag/tokio-1.48.0): Tokio v1.48.0 [Compare Source](https://redirect.github.com/tokio-rs/tokio/compare/tokio-1.47.3...tokio-1.48.0) ##### 1.48.0 (October 14th, 2025) The MSRV is increased to 1.71. ##### Added - fs: add `File::max_buf_size` ([#​7594]) - io: export `Chain` of `AsyncReadExt::chain` ([#​7599]) - net: add `SocketAddr::as_abstract_name` ([#​7491]) - net: add `TcpStream::quickack` and `TcpStream::set_quickack` ([#​7490]) - net: implement `AsRef` for `TcpStream` and `UnixStream` ([#​7573]) - task: add `LocalKey::try_get` ([#​7666]) - task: implement `Ord` for `task::Id` ([#​7530]) ##### Changed - deps: bump windows-sys to version 0.61 ([#​7645]) - fs: preserve `max_buf_size` when cloning a `File` ([#​7593]) - macros: suppress `clippy::unwrap_in_result` in `#[tokio::main]` ([#​7651]) - net: remove `PollEvented` noise from Debug formats ([#​7675]) - process: upgrade `Command::spawn_with` to use `FnOnce` ([#​7511]) - sync: remove inner mutex in `SetOnce` ([#​7554]) - sync: use `UnsafeCell::get_mut` in `Mutex::get_mut` and `RwLock::get_mut` ([#​7569]) - time: reduce the generated code size of `Timeout::poll` ([#​7535]) ##### Fixed - macros: fix hygiene issue in `join!` and `try_join!` ([#​7638]) - net: fix copy/paste errors in udp peek methods ([#​7604]) - process: fix error when runtime is shut down on nightly-2025-10-12 ([#​7672]) - runtime: use release ordering in `wake_by_ref()` even if already woken ([#​7622]) - sync: close the `broadcast::Sender` in `broadcast::Sender::new()` ([#​7629]) - sync: fix implementation of unused `RwLock::try_*` methods ([#​7587]) ##### Unstable - tokio: use cargo features instead of `--cfg` flags for `taskdump` and `io_uring` ([#​7655], [#​7621]) - fs: support `io_uring` in `fs::write` ([#​7567]) - fs: support `io_uring` with `File::open()` ([#​7617]) - fs: support `io_uring` with `OpenOptions` ([#​7321]) - macros: add `local` runtime flavor ([#​7375], [#​7597]) ##### Documented - io: clarify the zero capacity case of `AsyncRead::poll_read` ([#​7580]) - io: fix typos in the docs of `AsyncFd` readiness guards ([#​7583]) - net: clarify socket gets closed on drop ([#​7526]) - net: clarify the behavior of `UCred::pid()` on Cygwin ([#​7611]) - net: clarify the supported platform of `set_reuseport()` and `reuseport()` ([#​7628]) - net: qualify that `SO_REUSEADDR` is only set on Unix ([#​7533]) - runtime: add guide for choosing between runtime types ([#​7635]) - runtime: clarify the behavior of `Handle::block_on` ([#​7665]) - runtime: clarify the edge case of `Builder::global_queue_interval()` ([#​7605]) - sync: clarify bounded channel panic behavior ([#​7641]) - sync: clarify the behavior of `tokio::sync::watch::Receiver` ([#​7584]) - sync: document cancel safety on `SetOnce::wait` ([#​7506]) - sync: fix the docs of `parking_lot` feature flag ([#​7663]) - sync: improve the docs of `UnboundedSender::send` ([#​7661]) - sync: improve the docs of `sync::watch` ([#​7601]) - sync: reword allocation failure paragraph in broadcast docs ([#​7595]) - task: clarify the behavior of several `spawn_local` methods ([#​7669]) - task: clarify the task ID reuse guarantees ([#​7577]) - task: improve the example of `poll_proceed` ([#​7586]) [#​7321]: https://redirect.github.com/tokio-rs/tokio/pull/7321 [#​7375]: https://redirect.github.com/tokio-rs/tokio/pull/7375 [#​7490]: https://redirect.github.com/tokio-rs/tokio/pull/7490 [#​7491]: https://redirect.github.com/tokio-rs/tokio/pull/7491 [#​7494]: https://redirect.github.com/tokio-rs/tokio/pull/7494 [#​7506]: https://redirect.github.com/tokio-rs/tokio/pull/7506 [#​7511]: https://redirect.github.com/tokio-rs/tokio/pull/7511 [#​7526]: https://redirect.github.com/tokio-rs/tokio/pull/7526 [#​7530]: https://redirect.github.com/tokio-rs/tokio/pull/7530 [#​7533]: https://redirect.github.com/tokio-rs/tokio/pull/7533 [#​7535]: https://redirect.github.com/tokio-rs/tokio/pull/7535 [#​7554]: https://redirect.github.com/tokio-rs/tokio/pull/7554 [#​7567]: https://redirect.github.com/tokio-rs/tokio/pull/7567 [#​7569]: https://redirect.github.com/tokio-rs/tokio/pull/7569 [#​7573]: https://redirect.github.com/tokio-rs/tokio/pull/7573 [#​7577]: https://redirect.github.com/tokio-rs/tokio/pull/7577 [#​7580]: https://redirect.github.com/tokio-rs/tokio/pull/7580 [#​7583]: https://redirect.github.com/tokio-rs/tokio/pull/7583 [#​7584]: https://redirect.github.com/tokio-rs/tokio/pull/7584 [#​7586]: https://redirect.github.com/tokio-rs/tokio/pull/7586 [#​7587]: https://redirect.github.com/tokio-rs/tokio/pull/7587 [#​7593]: https://redirect.github.com/tokio-rs/tokio/pull/7593 [#​7594]: https://redirect.github.com/tokio-rs/tokio/pull/7594 [#​7595]: https://redirect.github.com/tokio-rs/tokio/pull/7595 [#​7597]: https://redirect.github.com/tokio-rs/tokio/pull/7597 [#​7599]: https://redirect.github.com/tokio-rs/tokio/pull/7599 [#​7601]: https://redirect.github.com/tokio-rs/tokio/pull/7601 [#​7604]: https://redirect.github.com/tokio-rs/tokio/pull/7604 [#​7605]: https://redirect.github.com/tokio-rs/tokio/pull/7605 [#​7611]: https://redirect.github.com/tokio-rs/tokio/pull/7611 [#​7617]: https://redirect.github.com/tokio-rs/tokio/pull/7617 [#​7621]: https://redirect.github.com/tokio-rs/tokio/pull/7621 [#​7622]: https://redirect.github.com/tokio-rs/tokio/pull/7622 [#​7628]: https://redirect.github.com/tokio-rs/tokio/pull/7628 [#​7629]: https://redirect.github.com/tokio-rs/tokio/pull/7629 [#​7635]: https://redirect.github.com/tokio-rs/tokio/pull/7635 [#​7638]: https://redirect.github.com/tokio-rs/tokio/pull/7638 [#​7641]: https://redirect.github.com/tokio-rs/tokio/pull/7641 [#​7645]: https://redirect.github.com/tokio-rs/tokio/pull/7645 [#​7651]: https://redirect.github.com/tokio-rs/tokio/pull/7651 [#​7655]: https://redirect.github.com/tokio-rs/tokio/pull/7655 [#​7661]: https://redirect.github.com/tokio-rs/tokio/pull/7661 [#​7663]: https://redirect.github.com/tokio-rs/tokio/pull/7663 [#​7665]: https://redirect.github.com/tokio-rs/tokio/pull/7665 [#​7666]: https://redirect.github.com/tokio-rs/tokio/pull/7666 [#​7669]: https://redirect.github.com/tokio-rs/tokio/pull/7669 [#​7672]: https://redirect.github.com/tokio-rs/tokio/pull/7672 [#​7675]: https://redirect.github.com/tokio-rs/tokio/pull/7675 ### [`v1.47.3`](https://redirect.github.com/tokio-rs/tokio/compare/tokio-1.47.2...tokio-1.47.3) [Compare Source](https://redirect.github.com/tokio-rs/tokio/compare/tokio-1.47.2...tokio-1.47.3) ### [`v1.47.2`](https://redirect.github.com/tokio-rs/tokio/compare/tokio-1.47.1...tokio-1.47.2) [Compare Source](https://redirect.github.com/tokio-rs/tokio/compare/tokio-1.47.1...tokio-1.47.2)
--- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), 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. --- - [ ] 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). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Cargo.lock | 75 ++++++------------------------------------------------ 1 file changed, 8 insertions(+), 67 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 713370b1e..da9d90b06 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,15 +2,6 @@ # It is not intended for manual editing. version = 4 -[[package]] -name = "addr2line" -version = "0.24.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" -dependencies = [ - "gimli", -] - [[package]] name = "adler2" version = "2.0.1" @@ -501,21 +492,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "backtrace" -version = "0.3.75" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002" -dependencies = [ - "addr2line", - "cfg-if", - "libc", - "miniz_oxide", - "object", - "rustc-demangle", - "windows-targets 0.52.6", -] - [[package]] name = "base64" version = "0.21.7" @@ -1339,7 +1315,7 @@ dependencies = [ "libc", "option-ext", "redox_users", - "windows-sys 0.61.0", + "windows-sys 0.60.2", ] [[package]] @@ -1843,12 +1819,6 @@ dependencies = [ "weezl", ] -[[package]] -name = "gimli" -version = "0.31.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" - [[package]] name = "glob" version = "0.3.3" @@ -2125,7 +2095,7 @@ dependencies = [ "libc", "percent-encoding", "pin-project-lite", - "socket2 0.6.0", + "socket2 0.5.10", "system-configuration", "tokio", "tower-service", @@ -2343,17 +2313,6 @@ dependencies = [ "tempfile", ] -[[package]] -name = "io-uring" -version = "0.7.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d93587f37623a1a17d94ef2bc9ada592f5465fe7732084ab7beefabe5c77c0c4" -dependencies = [ - "bitflags 2.10.0", - "cfg-if", - "libc", -] - [[package]] name = "ipnet" version = "2.11.0" @@ -2797,7 +2756,7 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "536bfad37a309d62069485248eeaba1e8d9853aaf951caaeaed0585a95346f08" dependencies = [ - "windows-sys 0.61.0", + "windows-sys 0.60.2", ] [[package]] @@ -2988,15 +2947,6 @@ version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33" -[[package]] -name = "object" -version = "0.36.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" -dependencies = [ - "memchr", -] - [[package]] name = "oid-registry" version = "0.8.1" @@ -4105,12 +4055,6 @@ dependencies = [ "thiserror 1.0.69", ] -[[package]] -name = "rustc-demangle" -version = "0.1.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "989e6739f80c4ad5b13e0fd7fe89531180375b18520cc8c82080e4dc4035b84f" - [[package]] name = "rustc-hash" version = "2.1.1" @@ -5152,30 +5096,27 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.47.1" +version = "1.49.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89e49afdadebb872d3145a5638b59eb0691ea23e46ca484037cfab3b76b95038" +checksum = "72a2903cd7736441aac9df9d7688bd0ce48edccaadf181c3b90be801e81d3d86" dependencies = [ - "backtrace", "bytes", - "io-uring", "libc", "mio", "parking_lot", "pin-project-lite", "signal-hook-registry", - "slab", "socket2 0.6.0", "tokio-macros", "tracing", - "windows-sys 0.59.0", + "windows-sys 0.61.0", ] [[package]] name = "tokio-macros" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" +checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5" dependencies = [ "proc-macro2", "quote",