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.
- Moved to
formatsrepo (#2)
- ASN.1
SETtype now flagged with the constructed bit
- Encoding
UTCTimefor dates with20xxyears
TagNumbertype- Const generic integer de/encoders with support for all of Rust's integer primitives
crypto-bigintsupportTagnumber helpersTag::octetErrorKind::ValuehelpersSequenceIter
- Bump
const-oidcrate dependency to v0.6 - Make
Tagstructured - Namespace ASN.1 types in
asn1module - Refactor context-specific field decoding
- MSRV 1.51
- Rename
big-uintcrate feature tobigint - Rename
BigUInttoUIntBytes - Have
Decoder::error()return anError
- Deprecated methods replaced by associated constants
- Helper methods for context-specific fields
ContextSpecificfield wrapper- Decoder position tracking for errors during
Any<'a>decoding
Fromconversion forBitStringintoAny
- Support
Lengthof up to 1 MiB
Lengthconstants
- Deprecate
const fnmethods replaced byLengthconstants
- Non-critical bug allowing
Lengthto exceed the max invariant
PartialOrd+Ordimpls to all ASN.1 types
- Impl
Decode/Encoded/TaggedforString Length::oneandLength::for_tlvSET OFsupport withSetOftrait andSetOfRef
- Rename
Decodable::from_bytes=>Decodable::from_der - Separate
sequenceandmessage - Rename
ErrorKind::Oid=>ErrorKind::MalformedOid - Auto-derive
Fromimpls for variants when derivingChoice - Make
Lengthuseu32internally - Make
Sequenceconstructor private - Bump
const_oidto v0.5 - Bump
der_deriveto v0.3
- Deprecated methods
BigUIntSize
- Impl
From<ObjectIdentifier>forAny
- Bump minimum
const-oiddependency to v0.4.4
- Support for
IA5String
Choicetrait
- Export
Headerpublicly - Make
Encoder::reservepublic
- Make the unit type an encoding of
NULL
ErrorKind::UnknownOidvariant
Any::is_nullmethod
- Deprecate
Any::nullmethod
- Additional
rustdocdocumentation
- Support for
UTCTimeandGeneralizedTime
- Support for
PrintableStringandUtf8String
BigUInttypei16supportu8andu16support- Integer decoder helper methods
- Handle leading byte of
BIT STRINGs
- Initial release