Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.6.1 (2022-12-05)

Added

  • Support for deriving ValueOrd on Choice enums (#723)

0.6.0 (2022-05-08)

Added

  • Support for Context-Specific fields with default values (#246)
  • Context-Specific tags on #[derive(Sequence)] (#349)
  • #[asn1(constructed = "true")] (#398)

Changed

  • Have Sequence macro derive DecodeValue (#375)
  • Pass Header to DecodeValue (#392)
  • Have Choice macro derive EncodeValue (#395)
  • Only emit .try_into()? when a type is specified (#397)
  • Use type's tag by default on derive(Choice) (#416)

Fixed

  • Length calculation for explicit tags (#400)

Removed

  • Static lifetime from ENUMERATED's derived DecodeValue (#367)

0.5.0 (2021-11-15)

Added

  • asn1(tag_mode = "...") derive attribute (#150)
  • asn1(context_specific = "...") derive attribute (#150)
  • Enumerated custom derive macro (#171)
  • asn1(tag_mode = "...") attribute (#197)
  • Support for handling DEFAULT values of SEQUENCEs (#202)
  • ValueOrd custom derive macro (#206)
  • CONTEXT-SPECIFIC support for Sequence custom derive (#220)

Changed

  • Rename Message trait to Sequence (#99)
  • Rust 2021 edition upgrade; MSRV 1.56 (#136)

Removed

  • Don't automatically derive From impls for Choice (#168)

0.4.1 (2021-09-14)

Changed

  • Moved to formats repo (#2)

0.4.0 (2021-06-07)

Changed

  • Update generated code to support the corresponding der crate changes

0.3.0 (2021-03-21)

Added

  • choice::Alternative and duplicate tracking
  • Auto-derive From impls for variants when deriving Choice

0.2.2 (2021-02-22)

Added

  • Custom derive support for the Choice trait

0.2.1 (2021-02-15)

Added

  • Custom derive support for enums

0.2.0 (2021-02-02)

Added

  • Support for PrintableString and Utf8String

0.1.0 (2020-12-21)

  • Initial release