Cargo Features
[dependencies]
tcp-stream = { version = "0.29.2", default-features = false, features = ["native-tls", "openssl", "rustls-webpki-roots-certs", "rustls-native-certs", "rustls-common", "vendored-openssl", "rustls--aws_lc_rs", "rustls--ring"] }
- default = rustls--aws_lc_rs, rustls-native-certs
-
These default features are set whenever
tcp-stream
is added without
somewhere in the dependency tree.default-features = false - native-tls
-
Enables native-tls and rustls-pemfile
Affects
tcp-stream::NativeTlsStream
,tcp-stream::NativeTlsMidHandshakeTlsStream
,tcp-stream::NativeTlsHandshakeError
… - openssl vendored-openssl?
-
Enables openssl
Affects
tcp-stream::OpenSslStream
,tcp-stream::OpenSslMidHandshakeTlsStream
,tcp-stream::OpenSslHandshakeError
,tcp-stream::OpenSslErrorStack
… - rustls-webpki-roots-certs = rustls-common
-
Enables webpki-roots-certs of rustls-connector
- rustls-native-certs default = rustls-common
-
Enables native-certs of rustls-connector
- rustls-common rustls-native-certs rustls-webpki-roots-certs?
-
Enables p12-keystore, rustls-connector, and rustls-pemfile
Affects
tcp-stream::RustlsStream
,tcp-stream::RustlsMidHandshakeTlsStream
,tcp-stream::RustlsHandshakeError
… - vendored-openssl = openssl
- rustls--aws_lc_rs default
-
rustls crypto providers. Choose at least one. Otherwise, runtime errors. See https://docs.rs/rustls/latest/rustls/#crate-features. for more info default, but doesn't build everywhere
Enables rustls--aws_lc_rs of rustls-connector
- rustls--ring
-
more compatible, (e.g., easily builds on Windows)
Enables rustls--ring of rustls-connector