Cargo Features
[dependencies]
axum-server2 = { version = "0.7.3", default-features = false, features = ["tls-rustls", "tls-rustls-no-provider", "tls-openssl", "tls-boringssl"] }
- default = tls-boringssl
-
The
tls-boringssl
feature is set by default wheneveraxum-server2
is added without
somewhere in the dependency tree.default-features = false - tls-rustls = tls-rustls-no-provider
-
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 and pin-project-lite
rustls or openssl or boringssl
Affects
axum-server2::tls_rustls
… - tls-openssl = arc-swap, openssl, tokio-openssl
-
Enables pin-project-lite
Affects
axum-server2::tls_openssl
… - tls-boringssl default = boring, tokio-boring
-
Enables pin-project-lite
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-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?
- boring tls-boringssl
-
Enables boring2
boringssl
- tokio-boring tls-boringssl
-
Enables tokio-boring2