axum-server icon indicating copy to clipboard operation
axum-server copied to clipboard

This crate breaks with the latest version of rustls (0.23.13)

Open darklajid opened this issue 4 months ago • 1 comments

Rustls panics with

thread 'main' panicked at C:\Users\Ben.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustls-0.23.13\src\crypto\mod.rs:265:14: no process-level CryptoProvider available -- call CryptoProvider::install_default() before this point note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

with the version in the Cargo.lock pointing to the latest release. The release notes seem to enable disabling default providers and it seems this crate did just that.

Cargo.toml

axum-server = { version = "0.7", features = ["tls-rustls"], default-features = false }

https://github.com/rustls/rustls/releases/tag/v%2F0.23.13

darklajid avatar Oct 04 '24 07:10 darklajid