websockets-rs / rust-websocket

A WebSocket (RFC6455) library written in Rust

Home Page:http://websockets-rs.github.io/rust-websocket/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fails to build on systems with OpenSSL 1.1.1

Fanael opened this issue · comments

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.

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

Looks like there is a pull request already?
/pull/186

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.