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
Rustls panics with
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
https://github.com/rustls/rustls/releases/tag/v%2F0.23.13