PackageTrack
Sign in Get early access

yasna

ASN.1 library for Rust

0.6.0 93M downloads/mo #847 most downloaded on crates.io qnighy/yasna.rs

What this package is like to depend on

Last release 5 months ago

14 Mar 2026

Release timing varies

gaps range from 9 days to 2.9 years

Nearly every release is documented

notes for 14 of 15 stable releases

Nothing withdrawn

no release was ever pulled

10 years old

15 releases · first in 2016

1 release in the last 12 months

see the full history below

Release timeline

15 releases · Jul 2016 to Mar 2026
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 15
  1. 0.6.0 14 Mar 2026
    Release notes
    • Increase MSRV to 1.60
    • Bump Rust edition to 2021
    • Bump bit-vec version
    Open source →
  2. 0.5.2 06 Apr 2023
    Release notes
    • Strip leading zeros and sometimes leading 255s in write_bigint_bytes
    Open source →
  3. 0.5.1 15 Dec 2022
    Release notes
    • Ensure yasna builds with -Z minimal-versions
    • Addition of {read,write}_bigint_bytes
    Open source →
  4. 0.5.0 02 Feb 2022
    Release notes
    • Fix overflow when reading length
    • Switch from chrono to time
    Open source →
  5. 0.4.0 28 Apr 2021
    Release notes
    • Increase MSRV to 1.36.0
    • Switch to Github actions for CI
    • no_std support (requiring alloc)
    • addition of default-off std feature to enable std-related features
    Open source →
  6. 0.3.2 16 May 2020
    Release notes
    • Disable default features of chrono (except std), removing dependency
    Open source →
  7. 0.3.1 13 Jun 2019
    Release notes
    • Support for reading/writing BITSTRING without needing the bit-vec crate
    • Addition of try_{construct_der,construct_der_seq}
    Open source →
  8. 0.3.0 06 Jun 2019
    Release notes
    • Increase MSRV to 1.17.0
    • Update to bit-vec 0.6.1
    • Support for reading/writing IA5String, BMPString
    Open source →
  9. 0.2.2 26 Mar 2019

    Nothing published for this version

  10. 0.2.1 15 Jan 2019
    Release notes
    • Ability to read/write raw DER
    • Addition of #![deny(missing_docs)] to the library root
    • Ability to read/write ENUMERATED
    Open source →
  11. 0.2.0 06 Jan 2019
    Release notes
    • Support for more datatypes (R/W):
      • UTF8String, NumericString, PrintableString, VisibleString,
      • UTCTime, GeneralizedTime,
    • Completed support for these datatypes:
      • SEQUENCE OF, DEFAULT, OPTIONAL,
    • Addition of traits BERDecodable and DEREncodable
    • Reduction of dependencies
    • Updates of dependencies (num to 0.2, bit-vec to 0.5)
    • Features were renamed and turned off by default
    • Addition of @est31 as maintainer
    Open source →
  12. 0.1.3 05 Jul 2016
    Release notes
    • Both readers and writers implement common core datatypes, including:
      • BOOLEAN, INTEGER, BITSTRING, OCTETSTRING, NULL, OBJECT IDENTIFIER,
      • SEQUENCE, SET, SET OF,
      • Explicitly/Implicitly tagged types.
    • Public APIs of readers and writers are documented and most of them are tested. These seem almost frozen.
    • Now it depends on "bit-vec" crate to handle bit strings.
    • ASN.1 data models are now in asn1::models. These are waiting for refactoring and API change, as well as FromBer traits.
    Open source →
  13. 0.1.2 03 Jul 2016
    Release notes

    Both writers and readers are refactored.

    • Writing SET values and tagged values.
    • Now DERWriter and DERWriterSeq are different.
    • Readers are currently in thorough refactoring.
      • They are split into several files internally.
      • BERReader and BERReaderSeq are now different.
      • Several changes on naming.
      • The CER (Canonical Encoding Rules) support is dropped.
      • Some tests are added.
    Open source →
  14. 0.1.1 02 Jul 2016
    Release notes

    From this version, writing DER is supported with very limited functionality.

    • Documented writer functionality with support for:
      • BOOLEAN
      • INTEGER
      • OCTET STRING
      • NULL
      • SEQUENCE
    Open source →
  15. 0.1.0 02 Jul 2016
    Release notes

    The project is splitted from the author's early work on TLS.

    • Undocumented reader functionality with support for:
      • BOOLEAN
      • INTEGER
      • BIT STRING
      • OCTET STRING
      • NULL
      • SEQUENCE
      • SEQUENCE OF
      • SET OF
      • Tagged values
      • Object identifiers
    • Deserialization functionality, mainly for reading X.509 certificates.
    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