websockets-rs / rust-websocket

A WebSocket (RFC6455) library written in Rust
http://websockets-rs.github.io/rust-websocket/
MIT License
1.54k stars 222 forks source link

Properly gate TLS error variants in Display impl #267

Closed newpavlov closed 2 years ago

newpavlov commented 2 years ago

Without the gating websocket fails to compile if neither of the TLS features is enabled.

newpavlov commented 2 years ago

@vi Could you please cut a release with this fix? I have a project which fails to compile due to indirect dependency on websocket.

vi commented 2 years ago

Published 0.26.4. But it is still recommended to abandon websocket dependency in favour of e.g. tungstenite.