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

der: initial Writer trait #605

Merged
merged 1 commit into from
Apr 23, 2022
Merged

der: initial Writer trait #605

merged 1 commit into from
Apr 23, 2022

Conversation

tarcieri
Copy link
Member

Begins moving core encoding functionality into a Writer trait.

The longer-term goal is to make the Encode trait accept a generic type as a backend, which can enable things like 1-pass PEM encoding or computing key fingerprints by impl'ing Writer for a hash function.

Begins moving core encoding functionality into a `Writer` trait.

The longer-term goal is to make the `Encode` trait accept a generic type
as a backend, which can enable things like 1-pass PEM encoding or
computing key fingerprints by impl'ing `Writer` for a hash function.
@tarcieri tarcieri merged commit ad4a4fc into master Apr 23, 2022
@tarcieri tarcieri deleted the der/writer-trait branch April 23, 2022 20:08
tarcieri added a commit that referenced this pull request Apr 24, 2022
Begins moving core decoding functionality into a `Reader` trait.

The longer-term goal is to move enough functionality to the trait to
support things like one-pass decoding directly from PEM for
`DecodeOwned` types.
@tarcieri tarcieri mentioned this pull request May 8, 2022
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

Successfully merging this pull request may close these issues.

1 participant