From 3408dcb39cccc6ba2bb665d0626658e2dd156cde Mon Sep 17 00:00:00 2001 From: strawberry Date: Tue, 20 Aug 2024 18:11:24 -0400 Subject: [PATCH] use no default rustls lib for axum-server as reqwest uses aws-lc-rs already otherwise this causes panic on startup when using TLS due to multiple crypto libraries Signed-off-by: strawberry --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 30457205..bdb611d3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -101,7 +101,8 @@ features = ["typed-header", "tracing"] [workspace.dependencies.axum-server] version = "0.7.1" default-features = false -features = ["tls-rustls"] +# we use reqwest default which is aws-lc-rs +features = ["tls-rustls-no-provider"] # to listen on both HTTP and HTTPS if listening on TLS dierctly from conduwuit for complement or sytest [workspace.dependencies.axum-server-dual-protocol]