You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add support for using rustls without a default crypto provider or root certs #4033
Ultimately we should probably just allow supplying a manually constructed rustls::ClientConfig, but we need to be careful with SemVer as we currently upgrade rustls at-will. Using a global provider is also a SemVer hazard as upgrading rustls could mean it's no longer using the same static, which will cause panics at runtime. So I suppose we should just start tracking rustls in our SemVer compatibility.
We could add rustls-platform-verifier but I would deprecate rustls-native-roots since the former is now generally recommended over it instead. I don't want to deal with a huge matrix of TLS features. I would prefer to just have a default that's good enough for 99% of use-cases and then give the user the option to manually configure whatever they need.
Activity
abonander commentedon Sep 22, 2025
Ultimately we should probably just allow supplying a manually constructed
rustls::ClientConfig, but we need to be careful with SemVer as we currently upgraderustlsat-will. Using a global provider is also a SemVer hazard as upgradingrustlscould mean it's no longer using the samestatic, which will cause panics at runtime. So I suppose we should just start trackingrustlsin our SemVer compatibility.We could add
rustls-platform-verifierbut I would deprecaterustls-native-rootssince the former is now generally recommended over it instead. I don't want to deal with a huge matrix of TLS features. I would prefer to just have a default that's good enough for 99% of use-cases and then give the user the option to manually configure whatever they need.abonander commentedon Sep 15, 2026
I have opened an RFC issue about reorganizing
rustlsfeatures: #4408