Cargo Features
actix-http has no features set by default.
[dependencies]
actix-http = { version = "3.9.0", features = ["http2", "ws", "openssl", "rustls", "rustls-0_20", "rustls-0_21", "rustls-0_22", "rustls-0_23", "compress-brotli", "compress-gzip", "compress-zstd"] }
- http2
-
HTTP/2 protocol support
Enables h2 ^0.3.26
Affects
actix-http::h2
… - ws
-
WebSocket protocol implementation
Enables base64, local-channel, rand, and sha1
local-channel:
websockets
Affects
actix-http::ws
… - openssl = __tls
-
TLS via OpenSSL
Enables accept and openssl of actix-tls
openssl/rustls
- rustls = __tls, rustls-0_20
-
TLS via Rustls v0.20
- rustls-0_20 rustls? = __tls
-
TLS via Rustls v0.20
Enables accept and rustls-0_20 of actix-tls
- rustls-0_21 = __tls
-
TLS via Rustls v0.21
Enables accept and rustls-0_21 of actix-tls
- rustls-0_22 = __tls
-
TLS via Rustls v0.22
Enables accept and rustls-0_22 of actix-tls
- rustls-0_23 = __tls
-
TLS via Rustls v0.23
Enables accept and rustls-0_23 of actix-tls
- compress-brotli = __compress
-
Compression codecs
Enables brotli ^6
compress-*
- compress-gzip = __compress
-
Enables flate2
- compress-zstd = __compress
-
Enables zstd
- __compress compress-brotli? compress-gzip? compress-zstd?
-
Internal (PRIVATE!) features used to aid testing and checking feature status.
Don't rely on these whatsoever. They are semver-exempt and may disappear at anytime.Affects
actix-http::encoding
… - __tls openssl? rustls? rustls-0_20? rustls-0_21? rustls-0_22? rustls-0_23?
-
Internal (PRIVATE!) features used to aid checking feature status.
Don't rely on these whatsoever. They may disappear at anytime.Affects
service::TlsAcceptorConfig
…
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.