Cargo Features

hyper-server has no features set by default.

[dependencies]
hyper-server = { version = "0.6.0", features = ["tls-rustls", "tls-openssl", "proxy-protocol"] }
tls-rustls = arc-swap, pin-project-lite, rustls, rustls-pemfile, tokio-rustls

Enables fs and time of tokio

Affects hyper-server::tls_rustls

tls-openssl = openssl, pin-project-lite, tokio-openssl

Affects hyper-server::tls_openssl

proxy-protocol = pin-project-lite, ppp

Affects hyper-server::proxy_protocol

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.

arc-swap tls-rustls?

Enables arc-swap

optional dependencies
rustls

openssl tls-openssl?
pin-project-lite proxy-protocol? tls-openssl? tls-rustls?
rustls tls-rustls?

Enables rustls ^0.21

rustls-pemfile tls-rustls?

Enables rustls-pemfile ^1

tokio-openssl tls-openssl?
tokio-rustls tls-rustls?

Enables tokio-rustls ^0.24

ppp proxy-protocol?

Enables ppp

proxy-protocol