Update tokio from 1.43.0 to 1.47.3 (#90945)
## Summary
Update the workspace `tokio` dependency from 1.43.0 to ~1.47.3 (pinned to the 1.47.x LTS minor line).
The tokio 1.43.x LTS line expires **March 2026**. This moves to the 1.47.x LTS line (supported until September 2026). The tilde version specifier (`~1.47.3`) ensures we stay on the 1.47.x minor version and only pick up patch releases (e.g. 1.47.4), not new minor versions.
### Key changes included in this bump
- **Soundness fix**: broadcast channel clone race condition (1.44.2)
- **`select!` is now budget-aware** (1.44) — cooperates with tokio's cooperative scheduling
- **Stabilized runtime metrics**: `worker_total_busy_duration`, `worker_park_count`, `worker_unpark_count` (1.45)
- **Performance**: improved `AtomicWaker::wake`, eliminated unnecessary `lfence` in task queue (1.46-1.47)
- **New APIs**: `sync::SetOnce`, `Notify::notified_owned()`, `broadcast::WeakSender`, `biased` option for `join!`/`try_join!`
- **`runtime::Handle` marked unwind-safe** (1.45)
- Transitive dep bump: `socket2` 0.5 → 0.6, `windows-sys` 0.52 → 0.61
### Breaking changes (verified safe)
- `from_std` now panics on blocking sockets — **no `TcpStream::from_std` calls in codebase**
- `LocalSet::{poll,drop}` disallows blocking — **no `LocalSet` usage in codebase**
- `select!` budget awareness — behavioral change, should improve fairness
### New duplicate dependencies
- `socket2 v0.6.2` added (v0.4 and v0.5 already existed due to `hyper 0.14`)
## Test plan
- [x] `cargo check` passes with no errors
- [ ] CI build and test suite
Showing
Please
register
or
sign in
to comment