Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
darklajid opened this issue Oct 4, 2024 · 1 comment
Open

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

darklajid opened this issue Oct 4, 2024 · 1 comment

Comments

@darklajid
Copy link

darklajid commented Oct 4, 2024

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

@Madoshakalaka
Copy link
Contributor

I confirm. Suddenly stopped working for me with the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants