PackageTrack
Sign in Get early access

rasn-ocsp

Data types for Online Certificate Status Protocol

0.28.14 11M downloads/mo #3024 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 77 of 82 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

82 releases · first in 2021

18 releases in the last 12 months

see the full history below

Release timeline

82 releases · Dec 2021 to Aug 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 82
  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 27 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 08 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.20.2 18 Oct 2024
    Release notes

    Fixed

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

    Other

    • Update to syn2 (#345)
    Open source →
  36. 0.20.1 06 Oct 2024
    Release notes

    Other

    • OER: Fix tag decoding and optimise choice/tag encoding further (#341)
    • Fix some typos and word insertions/deletions (#339)
    Open source →
  37. 0.20.0 30 Sep 2024
    Release notes

    Added

    • [breaking] update snafu to 0.8.5, impl core::error::Error for error types

    Fixed

    • Reroll back to BTreeMap for field presence tracking (#338)
    Open source →
  38. 0.19.0 23 Sep 2024
    Release notes

    Added

    • Export rasn-compiler as optional feature

    Fixed

    • [breaking] Change *_constraint macros to accept extensible keyword over bool

    Other

    • Use OR operator in Cargo.toml license field (#335)
    • Document more of rasn, add warning on missing documentation
    • Document more of rasn, remove unintentionally public items
    • Add rustdoc lint check
    • documentation lint fixes
    • Add module level top-line doc for JER
    • clippy fixes
    • move common macros into dedicated module
    • ObjectIdentifier::new: first arc may be 2 (#331)
    Open source →
  39. 0.18.0 17 Sep 2024
    Release notes

    Added

    • [breaking] Rework for SetOf type (#325)
    • Change LDAPString to be newtype wrapper around String (#327)
    • [breaking] Remove option_type (#329)
    • Constraint utilities, const default, more const functions (#321)

    Fixed

    • macros: include license texts in the packaged crate (#330)
    • [breaking] Remove jer feature, jer is enabled by default
    • [breaking] Remove Tag and TagTree from module root
    • [breaking] Make codec module private

    Other

    • fix version-pinned types url (#326)
    • Add basic optimizations for allocations in OER (#323)
    Open source →
  40. 0.17.3 12 Sep 2024
    Release notes

    Other

    • Add new field constructors that accept generics
    • Clippy fixes and CI artifact upload/download update (#319)
    • Update itertools to 0.13, update Cargo.lock
    • Add ZERO constant to integer, fix warnings
    Open source →
  41. 0.17.2 09 Sep 2024
    Release notes

    Other

    • Replace BTreeMap with HashMap in field_bitfield (#314)
    • Two custom bench profiles for lto and debug (#313)
    Open source →
  42. 0.17.1 08 Sep 2024
    Release notes

    Other

    • Reduce cloning in constraints (#311)
    Open source →
  43. 0.17.0 05 Sep 2024
    Release notes

    Added

    • [breaking] Integer as enum type and optimized constrained and variable-sized integer encoding (#289)
    Open source →
  44. 0.16.6 31 Aug 2024
    Release notes

    Other

    • Impl Display for ObjectIdentifier (#306)
    Open source →
  45. 0.16.5 23 Aug 2024
    Release notes

    Other

    • Remove to_vec and to_left_padded_vec as unnecessary (#300)
    Open source →
  46. 0.16.4 22 Aug 2024
    Release notes

    Added

    • Impl Display for Oid (#297)

    Fixed

    • Move BER integer leading byte handling to codec level (#299)
    Open source →
  47. 0.16.3 13 Aug 2024
    Release notes

    Other

    • Remove Cargo.lock from gitignore (#294)
    • fix untagged sequence bitfield (#280)
    Open source →
  48. 0.16.2 13 Aug 2024
    Release notes

    Other

    • call correct method for Default and Optional types when value is None. (#290)
    Open source →
  49. 0.16.1 04 Aug 2024
    Release notes

    Other

    • Add integer value constraint checking for PER encoding (#287)
    Open source →
  50. 0.16.0 17 Jul 2024
    Release notes

    Fixed

    • pass constraints correctly when encoding optional type (#276)
    • Hide jer behind feature (implying std). (#266)

    Other

    • Fix error name regression introduced in a75b26b (#285)
    • Unify and Improve error handling of restricted strings (#269)
    • fix untagged sequence bitfield bits (#279)
    • fix encoding of empty extension values (#278)
    • correctly encode null in option in extensions (#277)
    • fix empty length decoding, no zero padding allowed (#274)
    • decode error when unused preamble bits are not zero (#273)
    • check quantity data size on sequence of (#275)
    • Fix invalid handling of zero padding on length of length on COER (#268)
    • Hide snafu backtraces behind std. (#265)
    Open source →
  51. 0.15.3 14 Jun 2024
    Release notes

    Other

    • (ber) don't allocate 2 + N BigInts when parsing OIDs (#263)
    Open source →
  52. 0.15.2 11 Jun 2024
    Release notes

    Fixed

    • decoding integers encoded with byte lengths greater than {integer}::BITS / 8 would cause a subtraction underflow and subsequent index panic (#257)
    Open source →
  53. 0.15.1 10 Jun 2024
    Release notes

    Other

    • Add OID for MGF1. (#255)
    • don't heap allocate a BigInt for every integer that is decoded (#256)
    • run Clippy also for tests (#252)
    Open source →
  54. 0.15.0 17 May 2024
    Release notes

    Other

    • conditional update on Windows builds (#251)
    • oer enumerated de handled zero padding when it should not (#249)
    • Remove backtraces from rasn's default feature (#247)
    • Octet Encoding Rules (#154)
    Open source →
  55. 0.14.0 05 Apr 2024
    Release notes

    Fixed

    • (jer) ENUMERATED values as strings (#242)

    Other

    • Fix/jer compliance (#243)
    • Feat/identifier annotation (#239)
    Open source →
  56. 0.13.1 21 Mar 2024
    Release notes

    Other

    • Manually fix the incompatible versions (a result of v0.13.0 release) and some clippy warnings (#237)
    Open source →
  57. 0.12.6 09 Mar 2024
    Release notes

    Fixed

    • fix char and index maps, enable tests (#230)
    • fix no_std being commented out
    • (types) stack overflow in ObjectIdentifier PartialEq (#223)

    Other

    • (macros) Treat Unit Structs as ASN.1 NULL (#227)
    • (README) add declaration reference (#159)
    • Fix calling the specified default fn
    • Add default_initializer_fn optimisation
    Open source →
  58. 0.12.5 03 Feb 2024
    Release notes

    Fixed

    • (der) sort SET OF items (#220)
    • (macro) recognize option references (#219)

    Other

    • remove legacy compiler (#221)
    • Make backtraces as feature, enabled by default (#214)
    Open source →
  59. 0.12.4 04 Dec 2023
    Release notes

    Other

    • Remove deprecated chrono functions, redundant constant lifetimes (#212)
    Open source →
  60. 0.12.3 25 Nov 2023
    Release notes

    Other

    • Fix issue with decoding of BasicOcspResponse. (#208)
    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