Cargo Features
axum-server2 has no features set by default.
[dependencies]
axum-server2 = { version = "0.5.3", features = ["tls-rustls", "tls-openssl", "tls-boringssl"] }
- tls-rustls = arc-swap, pin-project-lite, rustls, rustls-pemfile, tokio-rustls
-
Affects
axum-server2::tls_rustls
… - tls-openssl = openssl, pin-project-lite, tokio-openssl
-
Affects
axum-server2::tls_openssl
… - tls-boringssl = boring, pin-project-lite, tokio-boring
-
Affects
axum-server2::tls_boringssl
…
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 - pin-project-lite tls-boringssl? tls-openssl? tls-rustls?
- rustls tls-rustls?
-
Enables rustls ^0.21
- rustls-pemfile tls-rustls?
-
Enables rustls-pemfile ^1
- tokio-rustls tls-rustls?
-
Enables tokio-rustls ^0.24
- openssl tls-openssl?
- tokio-openssl tls-openssl?
- boring tls-boringssl?
-
Enables rboring
boringssl
- tokio-boring tls-boringssl?
-
Enables tokio-rboring