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 <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-08-20 18:11:24 -04:00
parent 1639fdaafa
commit 3408dcb39c

View file

@ -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]