Cargo Features

actix-net has no features set by default.

[dependencies]
actix-net = { version = "0.2.6", features = ["tls", "ssl", "rust-tls", "cell"] }
tls = native-tls
ssl = openssl, tokio-openssl
rust-tls = rustls, tokio-rustls, webpki, webpki-roots
cell

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.

native-tls tls?
openssl ssl?
tokio-openssl ssl?

Enables tokio-openssl ^0.2

rustls rust-tls?

Enables rustls ^0.14

tokio-rustls rust-tls?

Enables tokio-rustls ^0.8

webpki rust-tls?

Enables webpki ^0.18

webpki-roots rust-tls?

Enables webpki-roots ^0.15