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.
arbitrary
crate feature (#895)
- Fallible
const fn
parser +::new_unwrap
(#458, #459) - OID database gated under the
db
feature (#451, #453, #456, #488) AssociatedOid
trait (#479)ObjectIdentifier::push_arc
(#504)ObjectIdentifier::parent
(#505)
ObjectIdentifier::new
now returns aResult
(#458)
- Leverage
const_panic
; MSRV 1.57 (#341)
- Increase
MAX_SIZE
to 39 (#258)
- Rust 2021 edition upgrade; MSRV 1.56 (#136)
- Rename
MAX_LENGTH
toMAX_SIZE
; bump to31
(#174) - Make
length
the first field ofObjectIdentifier
(#178)
debug_assert!
false positive on large arc (#180)
- Off-by-one error parsing large BER arcs (#84)
- Moved to
formats
repo (#2)
- Modernize and remove deprecations; MSRV 1.51+
- Expand README.md
ObjectIdentifier::MAX_LENGTH
constant
- Deprecate
ObjectIdentifier::max_len()
function
TryFrom<&[u8]>
impl onObjectIdentifier
- MSRV 1.47+
- Renamed the following methods:
ObjectIdentifier::new
=>ObjectIdentifier::from_arcs
ObjectIdentifier::parse
=>ObjectIdentifier::new
ObjectIdentifier::from_ber
=>ObjectIdentifier::from_bytes
- Deprecated methods
alloc
feature - only used by aforementioned deprecated methodsTryFrom<&[Arc]>
impl onObjectIdentifier
- use::from_arcs
Hash
andOrd
impls onObjectIdentifier
ObjectIdentifier::as_bytes
method
- Internal representation changed to BER/DER
- Deprecated
ObjectIdentifier::ber_len
,::write_ber
, and::to_ber
- Const-friendly OID string parser
- Bug in root arc calculation
- Bug in const initializer
Arcs
iterator
- Rename "nodes" to "arcs"
- Layout optimization
- Refactor and improve length limits
ObjectIdentifier::{write_ber, to_ber}
methods
- Documentation improvements
- Improve description in Cargo.toml/README.md
- Documentation improvements
- Impl
TryFrom<&[u32]>
for ObjectIdentifier
- Byte and string parsers
- Validate OIDs are well-formed; MSRV 1.46+
- Initial release