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 whenevertls-listener
is added without
somewhere in the dependency tree.default-features = false - 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
-
tokio:
Includes basic task execution capabilities
- tokio-net default
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.