-
Notifications
You must be signed in to change notification settings - Fork 597
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
Remove webpki
types from the public API
#736
Comments
@djc Besides |
|
These could be controlled with a
It seems like this is a problem only because Rustls exposes a lot of internals to the outside that ideally shouldn't be exposed. I think we can/should hide these by default, and maybe provide an "unstable-api" feature that exposes them.
I think the goal here is to make Rustls public API operate directly on |
I think the only open item here is |
This is done. |
There will be several backward-compatibility-breaking changes to the webpki API over the next year and beyond. Since the goal for the Rustls API is to be pretty stable and rarely have breaking changes, we need to insulate Rustls from those changes so that it can upgrade its version of webpki to the latest (and only supported) version without changing its public API.
In the case of
webpki::Error
in Rustls'sError
type, I think we should change it toBox<impl Debug>
or similar.The text was updated successfully, but these errors were encountered: