Cargo Features

[dependencies]
actix-tls = { version = "3.4.0", default-features = false, features = ["accept", "connect", "openssl", "rustls", "rustls-0_20", "rustls-0_20-webpki-roots", "rustls-0_20-native-roots", "rustls-0_21", "rustls-0_21-webpki-roots", "rustls-0_21-native-roots", "rustls-0_22", "rustls-0_22-webpki-roots", "rustls-0_22-native-roots", "rustls-0_23", "rustls-0_23-webpki-roots", "rustls-0_23-native-roots", "native-tls", "uri", "rustls-021", "rustls-webpki-0101"] }
default = accept, connect

These default features are set whenever actix-tls is added without default-features = false somewhere in the dependency tree.

accept default

enable acceptor services

Affects actix-tls::accept

connect default

enable connector services

Affects actix-tls::connect

openssl

use openssl impls

Enables openssl and tokio-openssl

Affects accept::openssl, connect::openssl

rustls = rustls-0_20

alias for backwards compat

rustls-0_20 rustls? = rustls-0_20-webpki-roots

use rustls v0.20 impls

Affects accept::rustls_0_20

rustls-0_20-webpki-roots rustls-0_20? = tokio-rustls-023, webpki-roots-022

Affects rustls_0_20::webpki_roots_cert_store

rustls-0_20-native-roots = tokio-rustls-023

Enables rustls-native-certs ^0.6

native root certificates for rustls impls

Affects rustls_0_20::native_roots_cert_store

rustls-0_21 = rustls-0_21-webpki-roots

use rustls v0.21 impls

Affects accept::rustls_0_21

rustls-0_21-webpki-roots rustls-0_21? = tokio-rustls-024, webpki-roots-025

Affects rustls_0_21::webpki_roots_cert_store

rustls-0_21-native-roots = tokio-rustls-024

Enables rustls-native-certs ^0.6

Affects rustls_0_21::native_roots_cert_store

rustls-0_22 rustls-0_22-native-roots? rustls-0_22-webpki-roots?

use rustls v0.22 impls

Enables rustls-pki-types

rustls PKI types

and tokio-rustls ^0.25

rustls v0.22

Affects accept::rustls_0_22, connect::rustls_0_22

rustls-0_22-webpki-roots = rustls-0_22

Enables webpki-roots

Affects rustls_0_22::webpki_roots_cert_store

rustls-0_22-native-roots = rustls-0_22

Enables rustls-native-certs ^0.7

Affects rustls_0_22::native_roots_cert_store

rustls-0_23 rustls-0_23-native-roots? rustls-0_23-webpki-roots?

use rustls v0.23 impls

Enables rustls-pki-types and tokio-rustls

tokio-rustls:

rustls v0.23

Affects accept::rustls_0_23, connect::rustls_0_23

rustls-0_23-webpki-roots = rustls-0_23

Enables webpki-roots

Affects rustls_0_23::webpki_roots_cert_store

rustls-0_23-native-roots = rustls-0_23

Enables rustls-native-certs ^0.7

Affects rustls_0_23::native_roots_cert_store

native-tls

use native-tls impls

Enables tokio-native-tls

Affects accept::native_tls, connect::native_tls

uri

support http::Uri as connect address

Enables http ^0.2.3 and http

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.

tokio-rustls-023 rustls-0_20-native-roots? rustls-0_20-webpki-roots?

Enables tokio-rustls ^0.23

rustls v0.20

tokio-rustls-024 rustls-0_21-native-roots? rustls-0_21-webpki-roots?

Enables tokio-rustls ^0.24

rustls v0.21

webpki-roots-022 rustls-0_20-webpki-roots?

Enables webpki-roots ^0.22

webpki-roots used with rustls features

webpki-roots-025 rustls-0_21-webpki-roots?

Enables webpki-roots ^0.25

rustls-021 cfg(any()) implicit feature

Enables rustls ^0.21.6

rustls:

Rustls is a modern TLS library written in Rust

rustls-webpki-0101 cfg(any()) implicit feature

Enables rustls-webpki ^0.101.4

rustls-webpki:

Web PKI X.509 Certificate Verification