snapview / tokio-tungstenite

Future-based Tungstenite for Tokio. Lightweight stream-based WebSocket implementation
MIT License
1.88k stars 236 forks source link

chore(rustls): switch to new rustls versions #306

Closed kskalski closed 1 year ago

kskalski commented 1 year ago

New *-rustls versions introduce some breaking API changes, but they do not seem to impact tokio-tungstenite directly, instead the hard constraint on minor version of them prevents from using tokio-tungstenite with them. Alternatively, I think loosening the dependencies to any minor versions (e.g. for rustls using version = "0.21", which allows cargo to dump automatically to 0.22.* could work too).

daniel-abramov commented 1 year ago

Thanks for the information. Note, that these are alpha versions (not something we would want to depend on), but switching to the stable versions once they are released would certainly be fine!