Cargo Features

rustls-connector = { version = "0.21.0", default-features = false, features = ["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 default-features = false somewhere in the dependency tree.

native-certs default = log, rustls-native-certs
webpki-roots-certs = webpki-roots
rustls--aws_lc_rs default

rustls crypto providers. Choose at least one. Otherwise, runtime errors. See for more info default, but doesn't build everywhere

Enables aws_lc_rs of rustls


more compatible, (e.g., easily builds on Windows)

Enables ring of rustls

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.

log native-certs
rustls-native-certs native-certs
webpki-roots webpki-roots-certs?