[package] name = "rustls-connector" version = "0.21.4" authors = ["Marc-Antoine Perennou "] edition = "2021" description = "Connector similar to openssl or native-tls for rustls" repository = "https://github.com/amqp-rs/rustls-connector" documentation = "https://docs.rs/rustls-connector" keywords = ["tls", "rustls"] categories = ["network-programming"] license = "BSD-2-Clause" rust-version = "1.74.0" [lib] name = "rustls_connector" [features] default = ["native-certs", "rustls--aws_lc_rs" ] logging = ["rustls/logging"] native-certs = ["dep:log", "dep:rustls-native-certs"] webpki-roots-certs = ["dep:webpki-roots"] # rustls crypto providers. Choose at least one. Otherwise, runtime errors. # See https://docs.rs/rustls/latest/rustls/#crate-features. for more info rustls--aws_lc_rs = ["rustls/aws_lc_rs"] # default, but doesn't build everywhere rustls--ring = ["rustls/ring"] # more compatible, (e.g., easily builds on Windows) [dependencies.log] version = "^0.4" optional = true [dependencies.rustls] version = "^0.23" default-features = false features = ["std", "tls12"] [dependencies.rustls-native-certs] version = "^0.8" optional = true [dependencies.rustls-pki-types] version = "^1.4" default-features = false features = ["std"] [dependencies.rustls-webpki] version = "^0.102" default-features = false features = ["std"] [dependencies.webpki-roots] version = "^0.26" optional = true [package.metadata.docs.rs] all-features = true [badges] maintenance = { status = "actively-developed" }