Cargo Features

[dependencies]
simplews = { version = "0.1.2", default-features = false, features = ["tls"] }
default = tls

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

tls default

Enables rustls and rustls-pemfile, rustls, rustls-tls-native-roots and tokio-rustls of tokio-tungstenite ^0.22.0

Affects simplews::initialize_insecure_tls, simplews::initialize_private_tls, simplews::initialize, simplews::websocket_handler, simplews::start_websocket