Skip to content

Upgrading tokio-tungstenite 0.13 to 0.14

Breaking0.13.0 → 0.14.0Breaking2New4Changed1

BreakingUpgrade verdict

2 breaking changes.

  • If you enabled the old tls feature, you must now enable native-tls instead.
  • Code referring to the old Stream type must use MaybeTlsStream instead.
2 items need code or config changes
Breaking2
Renames the tls feature to native-tls, which uses an OS-native TLS implementation.
tlsnative-tls
Renames stream::Stream to MaybeTlsStream, which now also wraps a rustls TLS stream.
stream::StreamMaybeTlsStream