Cargo Features

hyper-serve has no features set by default.

[dependencies]
hyper-serve = { version = "0.6.2", features = ["tls-rustls", "tls-openssl"] }
tls-rustls = arc-swap, rustls, rustls-pemfile, rustls-pki-types, tokio-rustls

Enables fs and time of tokio

Affects hyper-serve::tls_rustls

tls-openssl = arc-swap, openssl, tokio-openssl

Affects hyper-serve::tls_openssl

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-openssl? tls-rustls?

Enables arc-swap

optional dependencies
rustls

rustls tls-rustls?
rustls-pki-types tls-rustls?
rustls-pemfile tls-rustls?
tokio-rustls tls-rustls?
openssl tls-openssl?
tokio-openssl tls-openssl?