Cargo Features

ws has no features set by default.

[dependencies]
ws = { version = "0.9.2", features = ["permessage-deflate", "ssl", "nativetls"] }
permessage-deflate = libc, libz-sys

Affects ws::deflate

ssl = openssl

Affects handler::Handler.upgrade_ssl_client, handler::Handler.upgrade_ssl_server, stream::TlsStream

nativetls = native-tls

Affects handler::Handler.upgrade_ssl_client, handler::Handler.upgrade_ssl_server, stream::TlsStream

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

libc permessage-deflate?
libz-sys permessage-deflate?
native-tls nativetls?
openssl ssl?