Cargo Features

websocket-lite = { version = "0.5.2", default-features = false, features = ["nightly", "ssl-native-tls", "ssl-openssl"] }
default = ssl-native-tls

The ssl-native-tls feature is set by default whenever websocket-lite is added without default-features = false somewhere in the dependency tree.

ssl-native-tls default = native-tls, tokio-native-tls
ssl-openssl = openssl, tokio-openssl

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

native-tls ssl-native-tls
openssl ssl-openssl?
tokio-openssl ssl-openssl?
tokio-native-tls ssl-native-tls