PackageTrack
Sign in Get early access

rasn-derive-impl

Derive macro impls for rasn-derive.

0.28.14 8.0M downloads/mo #3516 most downloaded on crates.io librasn/rasn

What this package is like to depend on

Last release 16 days ago

07 Aug 2026

Release timing varies

gaps range from 9 days to 4 months

Nearly every release is documented

notes for 35 of 36 stable releases

Nothing withdrawn

no release was ever pulled

2 years old

36 releases · first in 2024

18 releases in the last 12 months

see the full history below

Release timeline

36 releases · Nov 2024 to Aug 2026
2025 2026
Release Pre-release

Releases

latest 36
  1. 0.28.14 07 Aug 2026
    Release notes

    Added

    • use width constant for per codec
    • (per) add encode_buf functions
    • add constraint checking when encoding
    • check integer and bit string constraints in BER
    • check octet string constraints when decoding ber
    • add {ber, cer, der}::encode_buf

    Fixed

    • (per) validate decoded value and size constraints
    • (xer) Return XER error on integer overflow

    Other

    • fix string alphabet lints
    • fmt
    • add scratchpad worker buffer in PER
    • reuse buffer in SEQUENCE OF encodings
    • pass buffer into child encoder
    • remove integer decoding heap allocation
    • (per) use arrays for set tracking
    • use arrays with index for field tracking
    • add a fast path for encode_constructed
    • fmt
    • reuse buffer for allocating constructed types
    • clippy lints
    • use object_identifier_as_bytes directly
    Open source →
  2. 0.28.13 24 Apr 2026
    Release notes

    Other

    • update Cargo.toml dependencies
    Open source →
  3. 0.28.12 15 Apr 2026
    Release notes

    Fixed

    • (coer) Fix sizing of Integer OER encoding
    • (coer) fix validation of Integer with length determinant encoding
    Open source →
  4. 0.28.11 04 Apr 2026
    Release notes

    Added

    • (avn) implement ASN.1 Value Notation codec (#544)

    Fixed

    • (jer) distinguish absent OPTIONAL fields from present-NULL values (#545)
    Open source →
  5. 0.28.10 12 Mar 2026
    Release notes

    Fixed

    • (per) encode empty extension addition group as absent per X.691 §… (#543)
    Open source →
  6. 0.28.9 11 Mar 2026
    Release notes

    Added

    • Implement Default trait for FixedOctetString (#522)
    • (type,jer) implement Encode/Decode on serde_json::Value (#538)

    Fixed

    • BER encoding of tagged CHOICE (#521)
    • (uper) correctly decode extension bitmap length per X.691 §11.9.3.4 (#541)
    Open source →
  7. 0.28.8 20 Feb 2026
    Release notes

    Other

    • Improve en-/decode error messages (#536)
    • (rustc) bump workspace to rust 2024 edition (#539)
    • release v0.28.7 (#534)
    Open source →
  8. 0.28.7 22 Jan 2026
    Release notes

    Fixed

    • Actually use number of root variants in CHOICE variance constraints (#532)

    Other

    • release v0.28.6 (#531)
    Open source →
  9. 0.28.6 22 Jan 2026
    Release notes

    Added

    • Adding AsnType/Encode/Decode implementations for Cow<_, T> (#530)
    Open source →
  10. 0.28.5 21 Jan 2026
    Release notes

    Added

    • Added From implementations for OctetString for BytesImpl (#525)
    Open source →
  11. 0.28.4 15 Jan 2026
    Release notes

    Fixed

    • Add depth limit to decoder to prevent stack overflow (#514) (#516)
    Open source →
  12. 0.28.3 08 Jan 2026
    Release notes

    Added

    • #[derive(Decode)] changes to make generics more robust (#515)
    Open source →
  13. 0.28.2 23 Dec 2025
    Release notes

    Other

    • Fixing #[derive(Decode)] issue where generics were not passed into the decode op, causing an error when deriving/compiling (#513)
    • Update README.md
    Open source →
  14. 0.28.1 19 Nov 2025
    Release notes

    Fixed

    • Sanitize field attributes when expanding Decode and Encode (#509)
    Open source →
  15. 0.28.0 20 Oct 2025
    Release notes

    Fixed

    • (ber) [breaking] Explicit errors when decoding optional any, proper TLV extraction in sequence (#504)
    • use full paths for field encode/decode, remove nightly CI (#499)
    Open source →
  16. 0.27.4 15 Oct 2025
    Release notes

    Fixed

    • (ber) don't include full error information when encountering EOF during decoding (#497)
    Open source →
  17. 0.27.3 27 Sep 2025
    Release notes

    Fixed

    • (per) Fix constrained length encoding/decoding for SIZE(0..65535) (#493)
    Open source →
  18. 0.27.2 30 Aug 2025
    Release notes

    Fixed

    • (xer) Fix encoding for sequences containing elements after a SEQUENCE OF or SET OF
    • (xer) Fix encoding of sequences with elements after a CHOICE
    Open source →
  19. 0.27.1 11 Aug 2025
    Release notes

    Fixed

    • (uper) empty outer encoding (#466)

    Other

    • allow nightly fail, nightly clippy (#485)
    • clippy pendantic fixes (#444)

    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.

    Open source →
  20. 0.27.0 19 Jun 2025
    Release notes

    Fixed

    • OctetString PartialEq implementation with arc-slice feature (#476)
    • (OER/PER) detect choice type always correctly on explicit prefix (#479)
    • #472 and add explicit integer conversion tests (#474)

    Other

    • reexport rasn default-features in standard crates (#477)
    • (octet-string) [breaking] wrap octet string in new type (#469)
    • (ci) fix clippy lints
    Open source →
  21. 0.26.6 18 May 2025
    Release notes

    Added

    • Add IEEE 1609.2-2022 , ETSI TS 103097 standards (#389)
    Open source →
  22. 0.26.5 09 May 2025
    Release notes

    Other

    • (xer) update xml-no-std (#462)
    Open source →
  23. 0.26.4 29 Apr 2025
    Release notes

    Other

    • RFC 8018 PBMAC1 parameters and OID. (#459)
    Open source →
  24. 0.26.3 28 Apr 2025
    Release notes

    Other

    • Always emit and accept initial octet for empty BIT STRING (#458)
    Open source →
  25. 0.26.2 17 Apr 2025
    Release notes

    Added

    • inner subtype constraint (#437)
    • support multi-field tuple-structs with delegate if other types are (#436)

    Fixed

    • improve constraint performance and bounded intersection (#440)
    • remove SetOf hashbrown dependency (#438)

    Other

    • RFC 3161 Time-Stamp Protocol (TSP) ASN.1 module. (#451)
    • Add CMS signed attribute CMSAlgorithmProtection. (#449)
    • Add PrivateKeyUsagePeriod certificate extension. (#448)
    • OER origins (#446)
    • Replace CI scripts with justfile which can be used locally as well (#441)
    Open source →
  26. 0.26.1 28 Mar 2025
    Release notes

    Added

    • encode/decode for PhantomData (#433)
    Open source →
  27. 0.26.0 24 Mar 2025
    Release notes

    Added

    • (bench) Add seperate encode and rtt benchmarks for X.509 (#432)

    Fixed

    • BER: improve GeneralizedTime parsing (#426)

    Other

    • chore!(integer): Wrap integer in newtype wrapper to hide implementation (#429)
    • Clarify error message for UnexpectedEmptyInput (#427)
    • Improve constraint compiler errors (#428)
    • From -> TryFrom (#425)
    • Ignore .profraw, remove related (#424)
    • Add decoding iterator, decode_with_remainder, clippy fixes (#421)
    Open source →
  28. 0.25.1 09 Mar 2025
    Release notes

    Other

    • Fixes librasn/rasn#418. Add support for explict tags and default values to encode correctly (#419)
    Open source →
  29. 0.25.0 07 Mar 2025
    Release notes

    Other

    • Feat/xml encoding rules (#416)
    Open source →
  30. 0.24.0 30 Jan 2025
    Release notes

    Added

    • add graphic string support (#410)
    Open source →
  31. 0.23.0 25 Jan 2025
    Release notes

    Added

    • [breaking] Add basic support for REAL using f32/f64 with JER/OER rules (#406)
    • add a convenience macro for parsing string literals into &'static Oids (#404)

    Fixed

    • some clippy lints causing CI to fail (#405)
    Open source →
  32. 0.22.2 05 Jan 2025
    Release notes

    Other

    • Better error messages for derives (#400)
    Open source →
  33. 0.22.1 03 Jan 2025
    Release notes

    Fixed

    • (derive) use const blocks and add generic bounds when generating an enum's AsnType impl (#398)
    • add missing Copy impl to FixedOctetString<N> (#396)
    • remove Default bound from [T; N]'s Decode impl (#395)
    • Fix PER encoding of empty octet strings missing the length determinant (#393)
    • FixedBitString might work as expected (#385)

    Other

    • fix accidental double backtick in Integer docs (#394)
    • Fix panic in the JER OctetString decoder if the string isn't even length (#382)
    • oer: format! in error messages has too much impact (#387)
    • Add decode_with_remainder for decoding stream (#386)
    • OER: remove nom usage, improve errors (#384)
    • Remove trails of BitSlice and unnecessary length checks (#381)
    • use shifting to construct primitive integers (#379)
    Open source →
  34. 0.22.0 26 Nov 2024

    Nothing published for this version

  35. 0.21.0 13 Nov 2024
    Release notes

    Added

    • Implement Algorithms and Identifiers PKIX module

    Fixed

    • split iai and criterion benches, use correct adapters (#366)
    • cleanup some unnecessary dependencies (#362)
    • remove version pin from release-plz (#356)
    • Don't override generics impl in proc-macros on encode impl (#354)
    • pin release-plz version until fixed (#353)
    • decoding of extended fields in sequence in BER (#351)
    • Fix most issues related to dependency update, except hashbrown version (#349)

    Other

    • Update README.md
    • Update README.md
    • Update README.md
    • Remove dependency on rayon (#363)
    • Extract proc macro into own crate (#364)
    • Update base_benchmarks.yml
    • Attempt to fix base benchmarks on CI (#365)
    • Update base_benchmarks.yml
    • Update base_benchmarks.yml
    • Create base_benchmarks.yml
    • Update from iai to iai-callgrind (#358)
    • black box integer test, use macros (#360)
    • Optimize field presence tracking of default/optional/extended fields (#324)
    • run x509 benches only on x86_64 or aarch64 (#355)
    • Add other X.509 libraries to bench
    • update dependencies
    • update lockfile
    • update lockfile
    • Create FUNDING.yml
    Open source →
  36. 0.20.2 01 Nov 2024
    Release notes

    Fixed

    • Run clippy and rustdoc only on stable channel in CI (#342)

    Other

    • Update to syn2 (#345)
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive