Skip to content

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.

2 participants