Email me

Crate features / tungstenite

Feature flags · tungstenite 0.30.0 · from crates.io 2026-10-24

tungstenite features: what each one does, and the line to copy

Short answertungstenite 0.30.0 has 7 features. By default it turns on handshake; add default-features = false to start from nothing. It needs Rust 1.85 or newer.

Pick features

0.30.0latest version
7features
1optional dependencies
1.85MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
__rustls-tlsrustls, rustls-pki-types
handshakeyesdata-encoding, http, httparse, sha1
native-tlsnative-tls-crate
native-tls-vendorednative-tls, native-tls-crate/vendored
rustls-tls-native-roots__rustls-tls, rustls-native-certs
rustls-tls-webpki-roots__rustls-tls, webpki-roots
urldep:url

dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).

MSRV history

The minimum Rust version tungstenite declares (rust-version), and the release that changed it:

  • 0.17.1 (2022-02-16): Rust 1.58
  • 0.17.2 (2022-02-21): Rust 1.56
  • 0.17.3 (2022-07-13): Rust 1.51
  • 0.22.0 (2024-06-01): Rust 1.60
  • 0.24.0 (2024-08-27): Rust 1.63
  • 0.29.0 (2026-03-17): Rust 1.71
  • 0.30.0 (2026-07-11): Rust 1.85

Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p tungstenite --precise <version>, or use resolver 3, which picks compatible versions for you.

More on tungstenite

Real downloads, dependents and alternatives: tungstenite crate data (1.1M real downloads a day, 710 dependents).

Security record: tungstenite advisories.

docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021

Up next

Before you depend on ittungstenite crate dataReal downloads, dependents, alternatives.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ