[[example]]
name = "accept-rustls"
required-features = ["accept", "rustls-0_23"]
[dependencies.actix-rt]
default-features = false
version = "2.2"
[dependencies.actix-service]
version = "2"
[dependencies.actix-utils]
version = "3"
[dependencies.futures-core]
default-features = false
features = ["alloc"]
version = "0.3.7"
[dependencies.http-0_2]
optional = true
package = "http"
version = "0.2.3"
[dependencies.http-1]
optional = true
package = "http"
version = "1"
[dependencies.impl-more]
version = "0.1"
[dependencies.pin-project-lite]
version = "0.2.7"
[dependencies.rustls-native-certs-06]
optional = true
package = "rustls-native-certs"
version = "0.6"
[dependencies.rustls-native-certs-07]
optional = true
package = "rustls-native-certs"
version = "0.7"
[dependencies.rustls-pki-types-1]
optional = true
package = "rustls-pki-types"
version = "1"
[dependencies.tls-openssl]
optional = true
package = "openssl"
version = "0.10.55"
[dependencies.tokio]
version = "1.23.1"
[dependencies.tokio-native-tls]
optional = true
version = "0.3"
[dependencies.tokio-openssl]
optional = true
version = "0.6"
[dependencies.tokio-rustls-023]
optional = true
package = "tokio-rustls"
version = "0.23"
[dependencies.tokio-rustls-024]
optional = true
package = "tokio-rustls"
version = "0.24"
[dependencies.tokio-rustls-025]
optional = true
package = "tokio-rustls"
version = "0.25"
[dependencies.tokio-rustls-026]
default-features = false
optional = true
package = "tokio-rustls"
version = "0.26"
[dependencies.tokio-util]
version = "0.7"
[dependencies.tracing]
default-features = false
features = ["log"]
version = "0.1.30"
[dependencies.webpki-roots-022]
optional = true
package = "webpki-roots"
version = "0.22"
[dependencies.webpki-roots-025]
optional = true
package = "webpki-roots"
version = "0.25"
[dependencies.webpki-roots-026]
optional = true
package = "webpki-roots"
version = "0.26"
[dev-dependencies.actix-codec]
version = "0.5"
[dev-dependencies.actix-rt]
version = "2.2"
[dev-dependencies.actix-server]
version = "2"
[dev-dependencies.bytes]
version = "1"
[dev-dependencies.futures-util]
default-features = false
features = ["sink"]
version = "0.3.17"
[dev-dependencies.itertools]
version = "0.12"
[dev-dependencies.pretty_env_logger]
version = "0.5"
[dev-dependencies.rcgen]
version = "0.12"
[dev-dependencies.rustls-pemfile]
version = "2"
[dev-dependencies.tokio-rustls-026]
package = "tokio-rustls"
version = "0.26"
[dev-dependencies.trust-dns-resolver]
version = "0.23"
[features]
accept = []
connect = []
default = ["accept", "connect"]
native-tls = ["dep:tokio-native-tls"]
openssl = ["dep:tls-openssl", "dep:tokio-openssl"]
rustls = ["rustls-0_20"]
rustls-0_20 = ["rustls-0_20-webpki-roots"]
rustls-0_20-native-roots = ["tokio-rustls-023", "dep:rustls-native-certs-06"]
rustls-0_20-webpki-roots = ["tokio-rustls-023", "webpki-roots-022"]
rustls-0_21 = ["rustls-0_21-webpki-roots"]
rustls-0_21-native-roots = ["tokio-rustls-024", "dep:rustls-native-certs-06"]
rustls-0_21-webpki-roots = ["tokio-rustls-024", "webpki-roots-025"]
rustls-0_22 = ["dep:tokio-rustls-025", "dep:rustls-pki-types-1"]
rustls-0_22-native-roots = ["rustls-0_22", "dep:rustls-native-certs-07"]
rustls-0_22-webpki-roots = ["rustls-0_22", "dep:webpki-roots-026"]
rustls-0_23 = ["dep:tokio-rustls-026", "dep:rustls-pki-types-1"]
rustls-0_23-native-roots = ["rustls-0_23", "dep:rustls-native-certs-07"]
rustls-0_23-webpki-roots = ["rustls-0_23", "dep:webpki-roots-026"]
uri = ["dep:http-0_2", "dep:http-1"]
[package]
authors = ["Nikolay Kim <fafhrd91@gmail.com>", "Rob Ede <robjtede@icloud.com>"]
categories = ["network-programming", "asynchronous", "cryptography"]
description = "TLS acceptor and connector services for Actix ecosystem"
edition = "2021"
keywords = ["network", "tls", "ssl", "async", "transport"]
license = "MIT OR Apache-2.0"
name = "actix-tls"
readme = "README.md"
repository = "https://github.com/actix/actix-net.git"
rust-version = "1.70"
version = "3.4.0"
[package.metadata.cargo-machete]
ignored = ["rustls_021", "rustls_webpki_0101"]
[package.metadata.cargo_check_external_types]
allowed_external_types = ["actix_service::*", "actix_utils::*", "futures_core::*", "tokio::*"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[target."cfg(any())".dependencies.rustls-021]
optional = true
package = "rustls"
version = "0.21.6"
[target."cfg(any())".dependencies.rustls-webpki-0101]
optional = true
package = "rustls-webpki"
version = "0.101.4"