Cargo Features

[dependencies]
leap_client_rs = { version = "0.1.5", default-features = false, features = ["zlib", "native-tls", "rustls-tls-native-roots", "rustls-tls-webpki-roots"] }
default = rustls-tls-webpki-roots, zlib

default to webpki roots for easy cross compilation

zlib default = async-compression

compression reduces the size of the websocket payloads

native-tls

allow for multiple different TLS backends

Enables tokio-native-tls of async-tungstenite ^0.23

rustls-tls-native-roots

Enables tokio-rustls-native-certs of async-tungstenite ^0.23

rustls-tls-webpki-roots default

Enables tokio-rustls-webpki-roots of async-tungstenite ^0.23

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.

async-compression zlib