Cargo Features
[dependencies]
endless-web = { version = "2.0.0", default-features = false, features = ["compress", "secure-cookies", "failure", "openssl", "rustls"] }
- default = compress, failure
-
These default features are set whenever
endless-web
is added without
somewhere in the dependency tree.default-features = false - compress default
-
content-encoding support
Enables compress of actix-http ^1.0.1 and awc ^1.0.1
-
sessions feature, session require "ring" crate and c compiler
Enables secure-cookies of actix-http ^1.0.1
- failure default
-
Enables failure of actix-http ^1.0.1
- openssl = open-ssl
-
Enables openssl of actix-tls ^1.0.0 and awc ^1.0.1
actix-tls:
use openssl impls
- rustls = rust-tls
-
Enables rustls of actix-tls ^1.0.0 and awc ^1.0.1
actix-tls:
alias for backwards compat
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.