Cargo Features

rocket_http has no features set by default.

[dependencies]
rocket_http = { version = "0.5.1", features = ["tls", "mtls", "http2", "private-cookies", "serde", "uuid"] }
tls mtls? = rustls, rustls-pemfile, tokio-rustls

Affects rocket_http::tls

mtls = tls, x509-parser

Affects tls::mtls

http2

Enables http2 of hyper ^0.14.9

private-cookies

Enables key-expansion and private of cookie

serde = serde_

Enables with-serde-alloc of uncased

uuid = uuid_

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.

rustls tls?

Enables rustls ^0.21

tokio-rustls tls?

Enables tokio-rustls ^0.24

rustls-pemfile tls?

Enables rustls-pemfile ^1.0.2

x509-parser mtls?

Enables x509-parser ^0.13

serde_ serde?

Enables serde

uuid_ uuid?

Enables uuid