Cargo Features

hawk-ws has no features set by default.

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

Affects hawk-ws::deflate

ssl = openssl

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?
openssl ssl?

Enables openssl ^0.9