Cargo Features
requiem-http has no features set by default.
[dependencies]
requiem-http = { version = "1.0.1", features = ["openssl", "rustls", "compress", "failure", "secure-cookies"] }
- openssl
-
Enables openssl of requiem-connect and requiem-tls
- rustls
-
rustls support
Enables rustls of requiem-connect and requiem-tls
- compress = brotli2, flate2
-
enable compressison support
Affects
requiem-http::encoding
… - failure = fail-ure
-
failure integration. actix does not use failure anymore
-
support for secure cookies
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.
- requiem-tls openssl? rustls?
- ring secure-cookies?
-
Enables ring ^0.16.9
for secure cookie
- brotli2 compress?
-
Enables brotli2
compression
- flate2 compress?
- fail-ure failure?
-
Enables failure
optional deps