---
title: "tokio 1.54.0 Breaking Changes on crates.io | Since.dev"
description: "What each tokio release removed, renamed or changed: 107 breaking changes in 24 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/tokio
last_updated: 2026-12-04
---

# tokio breaking changes

tokio 1.54.0 (October 21, 2026) is its newest release with breaking changes, 7 of them. The first: In-memory pipe panics when created with zero capacity in tokio 1.54.0. Every breaking API change we have recorded in tokio on crates.io: 107 breaking changes in 24 versions. Below, its 24 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.54.1`, released October 21, 2026. [Source repository](https://github.com/tokio-rs/tokio)

Its 0.3.0 release requires Rust 1.45 or later. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [0.3.0](#v-0-3-0) to [1.54.0](#v-1-54-0): 47 breaking changes in 21 versions.
- From [0.2.0](#v-0-2-0) to [1.54.0](#v-1-54-0): 77 breaking changes in 22 versions.

## tokio 1.54.0 breaking changes

tokio 1.54.0, released October 21, 2026: 7 breaking changes.

- **Behavior changed**  

Creating an in-memory pipe with zero capacity now panics. Callers must use a nonzero capacity. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.54.0)
- **Behavior changed** `BufReader`  

Creating a BufReader with zero capacity now panics. Callers must use a nonzero capacity. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.54.0)
- **Behavior changed** `BufStream`  

Creating a BufStream with zero capacity now panics. Callers must use a nonzero capacity. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.54.0)
- **Behavior changed** `copy_bidirectional_with_sizes`  

A zero buffer size passed to copy_bidirectional_with_sizes is now rejected. Callers must pass nonzero sizes. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.54.0)
- **Behavior changed** `File.set_max_buf_size`  

Passing zero to File::set_max_buf_size is now rejected. Callers must pass a nonzero buffer size. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.54.0)
- **Behavior changed** `max_io_events_per_tick`  

Setting max_io_events_per_tick to zero now panics. Callers must use a nonzero value. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.54.0)
- **Configuration changed**  

The minimum supported Rust compiler version is now 1.85. Projects on older Rust toolchains must upgrade before building against this release. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.54.0)

## tokio 1.53.0 breaking changes

tokio 1.53.0, released July 17, 2026: 2 breaking changes.

- **Behavior changed** `mpsc.Receiver`  

A Receiver now drops its stored waker when it is dropped, even if senders still exist. Code that relied on the previous waker behavior may need review. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.53.0)
- **Behavior changed** `mpsc.UnboundedReceiver`  

An UnboundedReceiver now drops its stored waker when it is dropped, even if senders still exist. Code that relied on the previous waker behavior may need review. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.53.0)

## tokio 1.52.3 breaking changes

tokio 1.52.3, released May 8, 2026: 2 breaking changes.

- **Behavior changed** `RwLock`  

Creating an RwLock with max_readers set to 0 is no longer allowed. Code that passes 0 must use a non-zero value. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.52.3)
- **Behavior changed** `try_recv`  

When an mpsc channel is closed while permits are still outstanding, try_recv now returns Empty instead of the previous result. Code that matches on that result may need to change. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.52.3)

## tokio 1.52.2 breaking changes

tokio 1.52.2, released May 4, 2026: 1 breaking change.

- **Behavior changed**  

The LIFO slot stealing change from 1.51.0 is reverted, so task scheduling returns to its earlier behavior. Code that depended on the 1.51.0 scheduling order may observe different timing. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.52.2)

## tokio 1.51.3 breaking changes

tokio 1.51.3, released May 8, 2026: 2 breaking changes.

- **Behavior changed** `RwLock`  

An RwLock with max_readers of 0 is now rejected, where previously it was accepted. Code that constructs an RwLock with zero max readers must pass a non-zero value. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.51.3)
- **Behavior changed** `try_recv`  

After an mpsc channel is closed while permits are still outstanding, try_recv() now returns Empty rather than Disconnected. Code that matches on Disconnected to detect closure must be updated. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.51.3)

## tokio 1.51.0 breaking changes

tokio 1.51.0, released April 3, 2026: 1 breaking change.

- **Behavior changed**  

Work-stealing workers can now take tasks from the LIFO slot, so task execution order and placement may differ from before. Review code that depends on task ordering or scheduling timing. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.51.0)

## Older versions

18 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### tokio 1.50.0 breaking changes

tokio 1.50.0, released March 3, 2026: 2 breaking changes.

- **Behavior changed**  

The default runtime thread name is now shorter to fit the Linux limit. Code that depends on the old default thread name must be updated. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.50.0)
- **Behavior changed** `event_interval`  

Setting the runtime event_interval to 0 now panics instead of being accepted. Make sure the value is never 0. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.50.0)

### tokio 1.49.0 breaking changes

tokio 1.49.0, released January 3, 2026: 4 breaking changes.

- **Signature changed** `tokio::io::AsyncWrite::poll_flush`  

Was fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'\_>) -> Poll\<Result<(), io::Error>>; now fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'\_>) -> Poll\<io::Result<()>>. [crates.io](https://crates.io/crates/tokio/1.49.0)
- **Signature changed** `tokio::io::AsyncWrite::poll_shutdown`  

Was fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context<'\_>) -> Poll\<Result<(), io::Error>>; now fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context<'\_>) -> Poll\<io::Result<()>>. [crates.io](https://crates.io/crates/tokio/1.49.0)

And 2 more in this version.

### tokio 1.48.0 breaking changes

tokio 1.48.0, released October 14, 2025: 3 breaking changes.

- **Configuration changed**  

Users on older Rust compilers must upgrade to Rust 1.71 or later to build this release. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.48.0)
- **Configuration changed**  

Builds that set --cfg flags for these unstable features must switch to the corresponding cargo features. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.48.0)

And 1 more in this version.

### tokio 1.47.5 breaking changes

tokio 1.47.5, released May 7, 2026: 2 breaking changes.

- **Behavior changed** `RwLock`  

An RwLock must now have a max_readers value other than zero. Code that configures zero max readers must switch to a nonzero value. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.47.5)
- **Behavior changed** `try_recv`  

When an mpsc channel is closed while permits are still outstanding, try_recv now returns Empty. Code that matches on the error from try_recv must account for this. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.47.5)

### tokio 1.46.0 breaking changes

tokio 1.46.0, released July 2, 2025: 2 breaking changes.

- **Behavior changed** `LocalSet.{poll,drop}`  

Blocking inside LocalSet::poll or LocalSet::drop is no longer allowed. Code that blocks in those paths must be changed to avoid blocking. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.46.0)
- **Signature changed** `runtime.Builder.build_local`  

The LocalOptions parameter to runtime::Builder::build_local is now passed by value instead of by reference. This is an unstable API, and callers must update the argument. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.46.0)

### tokio 1.45.0 breaking changes

tokio 1.45.0, released May 6, 2025: 1 breaking change.

- **Removed** `alt multi-threaded runtime`  

The unstable alt multi-threaded runtime was removed in this release. Code that uses it under tokio_unstable must switch to another runtime. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.45.0)

### tokio 1.44.0 breaking changes

tokio 1.44.0, released March 7, 2025: 2 breaking changes.

- **Behavior changed** `from_std`  

Passing a blocking socket to from_std on sockets now panics instead of hanging at runtime. Pass a non-blocking socket instead. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.44.0)
- **Behavior changed** `select!`  

select! now respects the task budget, so it may yield where it previously did not. Code relying on its exact scheduling may need review. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.44.0)

### tokio 1.43.4 breaking changes

tokio 1.43.4, released January 2, 2026: 1 breaking change.

- **Behavior changed** `Receiver.try_recv`  

After Receiver::close, Receiver::try_recv now returns TryRecvError::Disconnected. Code that matches on the error from try_recv after close should check for this variant. [github.com](https://github.com/tokio-rs/tokio/blob/tokio-1.43.4/tokio/CHANGELOG.md)

### tokio 1.41.0 breaking changes

tokio 1.41.0, released October 22, 2024: 3 breaking changes.

- **Renamed**  

Several unstable histogram metrics APIs were renamed, so code calling the old names must switch to the new names. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.41.0)
- **Behavior changed** `broadcast.Receiver`  

Broadcast receiver operations can now yield to the scheduler, so code that assumed they always complete immediately may see different timing. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.41.0)

And 1 more in this version.

### tokio 1.40.0 breaking changes

tokio 1.40.0, released August 30, 2024: 1 breaking change.

- **Signature changed** `task.Id`  

task::Id is now backed by NonZeroU64 instead of a plain u64, so code that relies on the old integer type must be updated. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.40.0)

### tokio 1.39.0 breaking changes

tokio 1.39.0, released July 23, 2024: 3 breaking changes.

- **Behavior changed**  

The crate now requires Rust 1.70 or later to build, so older toolchains will no longer compile it. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.39.0)
- **Behavior changed** `copy`  

copy now reads from the source while writing to the destination, which changes how I/O interleaves for existing callers. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.39.0)

And 1 more in this version.

### tokio 1.38.0 breaking changes

tokio 1.38.0, released May 30, 2024: 3 breaking changes.

- **Behavior changed** `global_queue_interval`  

The runtime now panics if global_queue_interval is set to zero. Code that sets it to zero must use a non-zero value. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.38.0)
- **Behavior changed** `oneshot receiver`  

A oneshot receiver now drops any unreceived message when the receiver is dropped. Code that relies on the message staying alive after the receiver is dropped must change. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.38.0)

And 1 more in this version.

### tokio 1.37.0 breaking changes

tokio 1.37.0, released March 28, 2024: 1 breaking change.

- **Behavior changed** `unhandled_panic`  

Enabling the unstable unhandled_panic option on a build that does not support it now panics instead of being silently ignored. Code that enables it must check that the build supports it. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.37.0)

### tokio 1.36.0 breaking changes

tokio 1.36.0, released February 2, 2024: 3 breaking changes.

- **Behavior changed** `copy`  

copy now takes part in Tokio's cooperative task budgeting, so it can return Pending more often. Code that depends on its completion timing may need to be checked. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.36.0)
- **Behavior changed** `repeat`  

repeat now takes part in Tokio's cooperative task budgeting, so it can return Pending more often. Code that depends on its polling behavior may need to be checked. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.36.0)

And 1 more in this version.

### tokio 1.33.0 breaking changes

tokio 1.33.0, released October 9, 2023: 1 breaking change.

- **Removed** `stats`  

The stats feature was removed as unused, so code or Cargo configuration that enables it will no longer build and must drop it. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.33.0)

### tokio 0.3.0 breaking changes

tokio 0.3.0, released October 15, 2020: 30 breaking changes.

- **Removed** `Buf`  

bytes is no longer part of the public API, so the Buf implementation was removed. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-0.3.0)
- **Removed** `BufMut`  

bytes is no longer part of the public API, so the BufMut implementation was removed. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-0.3.0)

And 28 more in this version.

### tokio 0.2.0 breaking changes

tokio 0.2.0, released November 26, 2019: 28 breaking changes.

- **Removed**  

Standalone timer and net drivers are removed. Use Runtime instead. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-0.2.0)
- **Removed** `current_thread`  

The current_thread runtime is removed. Use tokio::runtime::Runtime with basic_scheduler instead. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-0.2.0)

And 26 more in this version.

### tokio 0.2.0-alpha.5 breaking changes

tokio 0.2.0-alpha.5, released November 26, 2019: 2 breaking changes.

- **Renamed** `Lock`  

Lock is renamed to Mutex and works more like std::sync::Mutex. Code using Lock must switch to Mutex. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-0.2.0-alpha.5)
- **Renamed** `sleep`  

The sleep function is renamed to delay_for. Code calling sleep must switch to delay_for. [github.com](https://github.com/tokio-rs/tokio/releases/tag/tokio-0.2.0-alpha.5)

## Related packages

- [tokio-util](https://since.dev/packages/crates/tokio-util.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
