-
Notifications
You must be signed in to change notification settings - Fork 726
Take rustls-webpki 0.103.0 and improve certificate error reporting #2342
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
Conversation
Benchmark resultsInstruction countsSignificant differencesClick to expand
Other differencesClick to expand
Wall-timeSignificant differencesClick to expand
Other differencesClick to expand
Additional informationCheckout details:
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2342 +/- ##
==========================================
+ Coverage 94.89% 94.92% +0.03%
==========================================
Files 103 103
Lines 24274 24501 +227
==========================================
+ Hits 23034 23257 +223
- Misses 1240 1244 +4 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. I think it'll be a nice UX improvement downstream and seems to have the least downsides compared to the other approaches we kicked around in discussion. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice.
I don't like the ..Detail
suffix much on the error variant names, because it doesn't read very naturally? I guess I'd stick with ..Context
which is admittedly also not great.
Moved to |
(Have already approved this -- would you like me to make another pass?) |
I think it's OK; but as always happy to address any follow-ups in a later PR. |
This is a preview of the error reporting improvements we can do once we release webpki 0.103.0. I think it looks good, and if other folks agree I think we can go ahead and release that.