[package] name = "ntex-tls" version = "2.1.0" authors = ["ntex contributors "] description = "An implementation of SSL streams for ntex backed by OpenSSL" keywords = ["network", "framework", "async", "futures"] homepage = "https://ntex.rs" repository = "https://github.com/ntex-rs/ntex.git" documentation = "https://docs.rs/ntex-openssl/" categories = ["network-programming", "asynchronous"] license = "MIT OR Apache-2.0" edition = "2021" [lib] name = "ntex_tls" path = "src/lib.rs" [features] default = [] # openssl openssl = ["tls_openssl"] # rustls support rustls = ["tls_rust"] [dependencies] ntex-bytes = "0.1" ntex-io = "2.3" ntex-util = "2" ntex-service = "3" ntex-net = "2" log = "0.4" # openssl tls_openssl = { version = "0.10", package = "openssl", optional = true } # rustls tls_rust = { version = "0.23", package = "rustls", optional = true } [dev-dependencies] ntex = { version = "2", features = ["openssl", "rustls"] } env_logger = "0.11" rustls-pemfile = "2" webpki-roots = "0.26"