Skip to content

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

@darklajid

Description

@darklajid

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions