Upgrading tokio-tungstenite 0.13 to 0.14
Breaking0.13.0 → 0.14.0Breaking2New4Changed1
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- 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.
Must act 2 items need code or config changes
What you must change
Breaking2
Renames the tls feature to native-tls, which uses an OS-native TLS implementation.
tlsnative-tlsRenames stream::Stream to MaybeTlsStream, which now also wraps a rustls TLS stream.
stream::StreamMaybeTlsStream