Cargo Features

axum-server has no features set by default.

[dependencies]
axum-server = { version = "0.7.1", features = ["tls-rustls", "tls-rustls-no-provider", "tls-openssl"] }
tls-rustls = tls-rustls-no-provider

Enables aws-lc-rs of rustls

rustls:

Alias because Cargo features commonly use -

tls-rustls-no-provider tls-rustls? = arc-swap, rustls, rustls-pemfile, rustls-pki-types, tokio-rustls

Enables fs and time of tokio

Affects axum-server::tls_rustls

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

Affects axum-server::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-no-provider?

Enables arc-swap

optional dependencies
rustls

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