Skip to content

Conversation

@tarcieri
Copy link
Member

@tarcieri tarcieri commented Oct 9, 2024

Previously it was using <asn1_type>::new.

Using TryFrom is more flexible in terms of the possible conversions that it permits.

Also fills out the missing From/TryFrom conversions needed for the existing crates in this repo (most notably x509-cert to compile with the changes).

Previously it was using `<asn1_type>::new`.

Using `TryFrom` is more flexible in terms of the possible conversions
that it permits.

Also fills out the missing `From`/`TryFrom` conversions needed for the
existing crates in this repo (most notably `x509-cert` to compile with
the changes).
@tarcieri tarcieri force-pushed the der_derive/use_try_from_asn1_type branch from 6b4af73 to 3ba3224 Compare October 9, 2024 18:50
@tarcieri tarcieri merged commit 94f0b86 into master Oct 10, 2024
106 checks passed
@tarcieri tarcieri deleted the der_derive/use_try_from_asn1_type branch October 10, 2024 00:11
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