NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #625 most downloaded on crates.io
Parser/encoder for ASN.1 BER/DER data
Last release 4 months ago
18 May 2026
Release timing varies
gaps range from 2 weeks to 13 months
Most releases are documented
notes for 12 of 16 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
18 releases · first in 2021
One column per quarter.
Release asn1-rs-0.8.0-beta.2
Release asn1-rs-0.8.0-beta.2
Release asn1-rs-0.8.0-beta.1
Release asn1-rs-0.8.0-beta.1
Fix potential denial of service when REAL from NaN
REAL from NaNEncoding of "Real" type does not handle NaN (Not a Number) special case,
and attempting to call Real::new(f64::NaN) will:
This is considered as low-severity.
Thanks to Domen Puncer Kugler domen.puncerkugler@nccgroup.com for the report.
Bump dependency on time, and update Cargo.lock to use 0.3.47
Previous versions of time are affected by 'RUSTSEC-2026-0009' and cause cargo audit to fail
Note: features from this advisory are not used in asn1-rs, which is not affected. This
changed is only required because it causes failures in CI runs of dependant software.
As a side-effect, time requires an update of the MSRV, which is now 1.68
Full Changelog : asn1-rs-0.7.0...asn1-rs-0.7.1
Full Changelog: asn1-rs-0.7.0...asn1-rs-0.7.1
--no-default-featuresstd is not enabledFix receiver lifetimes in Any methods. by @SergioBenitez in #22
Any methods. by @SergioBenitez in #22Full Changelog: asn1-rs-0.5.2...asn1-rs-0.7.0
thiserror to 2.0 and derive Error for error types (even with no_std)ToStatic custom derive attributeToDerSequence custom derive attribute (#44)Fix a potential panic when using derived parsers, when using custom errors (see #40) This affects only auto-derived parsers specifying a custom error,
Important:
Fixed:
General:
Provide implementations for Option ::from_der
Option<Any>::from_derAdd PartialEq to SequenceOf and SetOf
General:
Any methodsBmpString::try_from for &Any (so it does not need to consume input) (#26)Any::as_generalstring (wrong return type)Any::as_bmpstringDependencies updates:
Fix decoding of integers: check if value will wrap if integer is signed
from_ber when skipping BER content (closes #14)Full Changelog: asn1-rs-0.5.1...asn1-rs-0.5.2
from_ber when skipping BER content (closes #14)Fix constraints too strict on TaggedValue::FromDer , do not auto-derive
Minor fixes:
TaggedValue::FromDer, do not auto-deriveAny::as_relative_oid to take a reference (and not consume input)derive:
This release adds some new methods and custom derive attributes. It also adds a lot of tests to improve code coverage.
This release adds some new methods and custom derive attributes. It also adds a lot of tests to improve code coverage.
asn1-rs:
from_ber_and_then (and _der)from_ber_and_then (and _der)starts_withderive:
coverage:
Remove explicit output lifetime in traits
Bugfix release:
BmpString when using ToDerDerAutoDerive impl for boolDerAutoDerive impl for f32/f64Any::from_der checks than length is definiteHeader::assert_definite()add missing file in distribution (fix docs.rs build)
Minor fix:
Add generic error parameter in traits and in types
asn1-rs:
Vec<T> or BTreeSet<T>) due to
Rust compiler limitationsDerAutoDerive trait to control manual/automatic implementation of FromDer
FromDer and CheckDerConstraintsderive:
documentation:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →