NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #1400 most downloaded on crates.io
Custom derive support for the `der` crate's `Choice` and `Sequence` traits
Last release 7 months ago
11 Feb 2026
Ships fairly regularly
a new release about every 2 months
Nearly every release is documented
notes for 13 of 13 stable releases
3 versions withdrawn
withdrawn after publishing
6 years old
30 releases · first in 2020
One column per quarter.
Sequence, Enumerated and Choice macros now support #[asn1(error = Ty)] attribute that provides a custom error type for Decode/DecodeValue implementati
Sequence, Enumerated and Choice macros now support #[asn1(error = Ty)] attribute that provides a custom error
type for Decode/DecodeValue implementations (#1560)BitString macro (#1720, #1733)DecodeValue, EncodeValue macros (#1722)APPLICATION and PRIVATE tags (#1825)DecodeValue for Choice (#1986)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
avoid type inference when using default ([#1443])
fix doc typo and use a valid tag number ([#1184])
Support for type generics in Sequence macro ([#1014])
Sequence macro (#1014)Eliminate dynamism from encoding ([#828])
Support for deriving ValueOrd on Choice enums ([#723])
ValueOrd on Choice enums (#723)Support for Context-Specific fields with default values ([#246])
#[derive(Sequence)] (#349)#[asn1(constructed = "true")] (#398)Sequence macro derive DecodeValue (#375)Header to DecodeValue (#392)Choice macro derive EncodeValue (#395).try_into()? when a type is specified (#397)derive(Choice) (#416)DecodeValue (#367)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
asn1(tag_mode = "...") derive attribute ([#150])
asn1(tag_mode = "...") derive attribute (#150)asn1(context_specific = "...") derive attribute (#150)Enumerated custom derive macro (#171)asn1(tag_mode = "...") attribute (#197)DEFAULT values of SEQUENCEs (#202)ValueOrd custom derive macro (#206)CONTEXT-SPECIFIC support for Sequence custom derive (#220)From impls for Choice (#168)Nothing published for this version
[#2]: https://github.com/RustCrypto/formats/pull/2
formats repo (#2)Update generated code to support the corresponding der crate changes
der crate changeschoice::Alternative and duplicate tracking
choice::Alternative and duplicate trackingFrom impls for variants when deriving ChoiceCustom derive support for the Choice trait
Choice traitCustom derive support for enums
Support for PrintableString and Utf8String
PrintableString and Utf8String- Initial release
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →