fix(deps): corrext aws-lc-rs dependencies and direct-tls

This commit is contained in:
Jade Ellis
2026-04-24 10:06:47 +01:00
parent 1bc7950748
commit a07d3e24ea
4 changed files with 13 additions and 88 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ brotli_compression = [
"tower-http/compression-br",
]
direct_tls = [
"axum-server/tls-rustls",
"axum-server/tls-rustls-no-provider",
"dep:rustls",
"dep:axum-server-dual-protocol",
]
+2 -2
View File
@@ -27,9 +27,9 @@ pub(super) async fn serve(
// we use ring for ruma and hashing state, but aws-lc-rs is the new default.
// without this, TLS mode will panic.
rustls::crypto::aws_lc_rs::default_provider()
rustls::crypto::ring::default_provider()
.install_default()
.expect("failed to initialise aws-lc-rs rustls crypto provider");
.expect("failed to initialise ring rustls crypto provider");
info!(
"Note: It is strongly recommended that you use a reverse proxy instead of running \