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

# tokio-tungstenite breaking changes

tokio-tungstenite 0.26.0 (December 17, 2024) is its newest release with breaking changes. The first: Signature changed tokio_tungstenite::WebSocketStream::close. Every breaking API change we have recorded in tokio-tungstenite on crates.io: 7 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.30.0`, released July 11, 2026. [Source repository](https://github.com/snapview/tokio-tungstenite)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [0.19.0](#v-0-19-0) to [0.26.0](#v-0-26-0): 5 breaking changes in 4 versions.

## tokio-tungstenite 0.26.0 breaking changes

tokio-tungstenite 0.26.0, released December 17, 2024: 1 breaking change.

- **Signature changed** `tokio_tungstenite::WebSocketStream::close`  

Was async fn close(&mut self, msg: Option\<CloseFrame<'\_>>) -> Result<(), WsError> where S: AsyncRead + AsyncWrite + Unpin,; now async fn close(&mut self, msg: Option\<CloseFrame>) -> Result<(), WsError> where S: AsyncRead + AsyncWrite +... [crates.io](https://crates.io/crates/tokio-tungstenite/0.26.0)

## tokio-tungstenite 0.24.0 breaking changes

tokio-tungstenite 0.24.0, released September 14, 2024: 1 breaking change.

- **Behavior changed**  

Using a wss:// URL without the matching TLS feature enabled now returns a runtime error. Code that relied on the previous behavior must enable a TLS feature or handle the error. [github.com](https://github.com/snapview/tokio-tungstenite/blob/v0.24.0/CHANGELOG.md)

## tokio-tungstenite 0.22.0 breaking changes

tokio-tungstenite 0.22.0, released June 1, 2024: 1 breaking change.

- **Configuration changed**  

The release updates the TLS dependencies and bumps tungstenite to match 0.22.0. Users who pin or rely on specific TLS dependency versions may need to check their builds. [github.com](https://github.com/snapview/tokio-tungstenite/blob/v0.22.0/CHANGELOG.md)

## tokio-tungstenite 0.20.0 breaking changes

tokio-tungstenite 0.20.0, released July 22, 2023: 2 breaking changes.

- **Behavior changed** `Sink.feed`  

Sink::send() and Sink::feed() now buffer writes differently. Check code that relies on when messages are flushed or sent. [github.com](https://github.com/snapview/tokio-tungstenite/blob/v0.20.0/CHANGELOG.md)
- **Behavior changed** `Sink.send`  

Sink::send() and Sink::feed() now buffer writes differently. Check code that relies on when messages are flushed or sent. [github.com](https://github.com/snapview/tokio-tungstenite/blob/v0.20.0/CHANGELOG.md)

## tokio-tungstenite 0.19.0 breaking changes

tokio-tungstenite 0.19.0, released May 15, 2023: 2 breaking changes.

- **Signature changed** `tokio_tungstenite::connect_async_tls_with_config`  

Was async fn connect_async_tls_with_config\<R>(request: R, config: Option\<WebSocketConfig>, connector: Option\<Connector>) -> Result<(WebSocketStream\<MaybeTlsStream\<TcpStream>>, Response), Error> where R: IntoClientRequest + Unpin,; now... [crates.io](https://crates.io/crates/tokio-tungstenite/0.19.0)
- **Signature changed** `tokio_tungstenite::connect_async_with_config`  

Was async fn connect_async_with_config\<R>(request: R, config: Option\<WebSocketConfig>) -> Result<(WebSocketStream\<MaybeTlsStream\<TcpStream>>, Response), Error> where R: IntoClientRequest + Unpin,; now async fn... [crates.io](https://crates.io/crates/tokio-tungstenite/0.19.0)

## 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.
