Cargo Features

[dependencies]
tls-listener = { version = "0.10.2", default-features = false, features = ["rustls-core", "rustls-aws-lc", "rustls-fips", "rustls-ring", "rustls", "native-tls", "openssl", "rt", "tokio-net"] }
default = tokio-net

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

rustls-core rustls-aws-lc? rustls-ring? = tokio-rustls
rustls-aws-lc rustls? rustls-fips? = rustls-core

Enables aws-lc-rs of tokio-rustls

tokio-rustls:

Alias because Cargo features commonly use -

rustls-fips = rustls-aws-lc

Enables fips of tokio-rustls

rustls-ring = rustls-core

Enables ring of tokio-rustls

rustls = rustls-aws-lc

Enables tokio-rustls

native-tls = tokio-native-tls
openssl = openssl_impl, tokio-openssl
rt

Enables rt of tokio

tokio:

Includes basic task execution capabilities

tokio-net default

Enables net of tokio

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.

tokio-native-tls native-tls?
tokio-rustls rustls? rustls-aws-lc? rustls-core? rustls-fips? rustls-ring?
tokio-openssl openssl?
openssl_impl openssl?

Enables openssl