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 2026Releases
latest 15-
0.6.014 Mar 2026 -
0.5.206 Apr 2023 -
0.5.115 Dec 2022Release notes
Open source →- Ensure yasna builds with
-Z minimal-versions - Addition of
{read,write}_bigint_bytes
- Ensure yasna builds with
-
0.5.002 Feb 2022 -
0.4.028 Apr 2021Release notes
Open source →- Increase MSRV to 1.36.0
- Switch to Github actions for CI
no_stdsupport (requiringalloc)- addition of default-off
stdfeature to enable std-related features
-
0.3.216 May 2020 -
0.3.113 Jun 2019Release notes
Open source →- Support for reading/writing BITSTRING without needing the bit-vec crate
- Addition of try_{construct_der,construct_der_seq}
-
0.3.006 Jun 2019Release notes
Open source →- Increase MSRV to 1.17.0
- Update to bit-vec 0.6.1
- Support for reading/writing IA5String, BMPString
-
0.2.226 Mar 2019Nothing published for this version
-
0.2.115 Jan 2019Release notes
Open source →- Ability to read/write raw DER
- Addition of
#![deny(missing_docs)]to the library root - Ability to read/write ENUMERATED
-
0.2.006 Jan 2019Release notes
Open source →- 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
- Support for more datatypes (R/W):
-
0.1.305 Jul 2016Release notes
Open source →- 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 asFromBertraits.
- Both readers and writers implement common core datatypes, including:
-
0.1.203 Jul 2016Release notes
Open source →Both writers and readers are refactored.
- Writing SET values and tagged values.
- Now
DERWriterandDERWriterSeqare different. - Readers are currently in thorough refactoring.
- They are split into several files internally.
BERReaderandBERReaderSeqare now different.- Several changes on naming.
- The CER (Canonical Encoding Rules) support is dropped.
- Some tests are added.
-
0.1.102 Jul 2016Release notes
Open source →From this version, writing DER is supported with very limited functionality.
- Documented writer functionality with support for:
- BOOLEAN
- INTEGER
- OCTET STRING
- NULL
- SEQUENCE
- Documented writer functionality with support for:
-
0.1.002 Jul 2016Release notes
Open source →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.
- Undocumented reader functionality with support for: