Cargo Features
[dependencies]
rustls-connector = { version = "0.21.4", default-features = false, features = ["logging", "native-certs", "webpki-roots-certs", "rustls--aws_lc_rs", "rustls--ring"] }
- default = native-certs, rustls--aws_lc_rs
-
These default features are set whenever
rustls-connector
is added without
somewhere in the dependency tree.default-features = false - logging
- native-certs default
-
Enables log and rustls-native-certs
- webpki-roots-certs
-
Enables webpki-roots
- 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
- rustls--ring
-
more compatible, (e.g., easily builds on Windows)