websockets-rs / rust-websocket

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

Fails to build on systems with OpenSSL 1.1.1 #189

Closed Fanael closed 5 years ago

Fanael commented 6 years ago

See sfackler/rust-openssl#994.

rust-websocket pulls in native-tls 0.1, which depends on an old version of openssl that doesn't build on systems with OpenSSL 1.1.1.

vi commented 6 years ago

It would be good it rust-websocket also supported native (non-C) crypto like rustls.

hweom commented 6 years ago

Looks like there is a pull request already? websockets-rs/rust-websocket/pull/186

artursapek commented 5 years ago

It looks like master now uses native-tls = { version = "0.2.1", optional = true }. @Fanael maybe you can close this issue?

I strongly agree with @vi about adding rustls support. It would make it easier to cross-compile code that uses this library.