const-oid
Const-friendly implementation of the ISO/IEC Object Identifier (OID) standard as defined in ITU X.660, with support for BER/DER encoding/decoding as well as heapless no_std (i.e. embedded) support
0.10.2
410M downloads/mo
#279 most downloaded on crates.io
RustCrypto/formats
What this package is like to depend on
Last release 7 months ago
07 Jan 2026
Release timing varies
gaps range from 1 weeks to 9 months
Nearly every release is documented
notes for 26 of 26 stable releases
7 versions withdrawn
withdrawn after publishing
6 years old
40 releases · first in 2020
1 release in the last 12 months
see the full history below
Release timeline
40 releases · Aug 2020 to Jan 2026Releases
latest 40-
0.10.207 Jan 2026Release notes
Open source →Added
ObjectIdentifier::from_bytes_sizedwhich ensures OIDs use all available space in the backing array (#1852)- Microsoft and Kerberos OIDs (#2035)
Fixed
- Switch from
doc_auto_cfgtodoc_cfg(#2072)
-
0.10.108 Apr 2025Release notes
Open source → -
0.10.024 Feb 2025Release notes
Open source →Added
ObjectIdentifier::starts_with(#964)- SHA-3 OIDs (#1000)
- RFC6962 OIDs (#1094)
- RFC2985 OIDS for PKCS#9 (#1248)
ObjectIdentifierReftype (#1305, [#1308])- RFC7693 OIDs for BLAKE2 (#1261)
- TPM-related OIDs (#1337)
- STB (Belarus standards) OIDs (#1394)
- RFC3161 OIDs (#1407)
- OIDs for ML-DSA and SLH-DSA (#1541)
- RFC5753 OIDs (#1547)
- RFC7292 OIDs for PKCS#12 (#1568)
- Brainpool RFC5639 OIDs (#1636)
- Support for X.509
GNas an alias togivenName(#1648)
Changed
- Return all matched names when looking up OID ([#1129])
- Make
ObjectIdentifier's size const generic (#1300) - Upgrade to 2024 edition; MSRV 1.85 (#1670)
Fixed
- Off-by-one error in
Encodersize check (#1304) - Large arc handling (#1522, #1592)
- Handling of repeated dot characters in input (#1595)
- Bugs in Base 128 encoder (#1600)
Removed
stdfeature (#1535)
-
0.10.0-rc.303 Nov 2024 pre-releaseNothing published for this version
-
0.10.0-rc.207 Oct 2024 pre-releaseNothing published for this version
-
0.10.0-rc.102 Oct 2024 pre-releaseNothing published for this version
-
0.10.0-rc.026 Jul 2024 pre-releaseNothing published for this version
-
0.10.0-pre.205 Jan 2024 pre-releaseNothing published for this version
-
0.10.0-pre.103 Jan 2024 pre-releaseNothing published for this version
-
0.10.0-pre.008 Oct 2023 pre-releaseNothing published for this version
-
0.9.615 Dec 2023 -
0.9.508 Aug 2023 -
0.9.410 Jul 2023 -
0.9.329 Jun 2023 -
0.9.226 Feb 2023 -
0.9.113 Nov 2022Release notes
Open source → -
0.9.012 Mar 2022Release notes
Open source →Added
- Fallible
const fnparser +::new_unwrap(#458, #459) - OID database gated under the
dbfeature (#451, #453, #456, #488) AssociatedOidtrait (#479)ObjectIdentifier::push_arc(#504)ObjectIdentifier::parent(#505)
Changed
ObjectIdentifier::newnow returns aResult(#458)
- Fallible
-
0.8.018 Jan 2022 -
0.7.130 Nov 2021 -
0.7.014 Nov 2021 withdrawnRelease notes
Open source →Changed
- Rust 2021 edition upgrade; MSRV 1.56 (#136)
- Rename
MAX_LENGTHtoMAX_SIZE; bump to31(#174) - Make
lengththe first field ofObjectIdentifier(#178)
Fixed
debug_assert!false positive on large arc (#180)
-
0.6.214 Oct 2021 -
0.6.114 Sep 2021 withdrawn -
0.6.003 Jun 2021 withdrawn -
0.5.220 Apr 2021 -
0.5.115 Apr 2021Release notes
Open source →Added
ObjectIdentifier::MAX_LENGTHconstant
Changed
- Deprecate
ObjectIdentifier::max_len()function
-
0.5.021 Mar 2021 -
0.4.504 Mar 2021 -
0.4.428 Feb 2021Release notes
Open source →Added
ObjectIdentifier::as_bytesmethod
Changed
- Internal representation changed to BER/DER
- Deprecated
ObjectIdentifier::ber_len,::write_ber, and::to_ber
-
0.4.324 Feb 2021 -
0.4.219 Feb 2021 withdrawn -
0.4.121 Dec 2020 withdrawn -
0.4.016 Dec 2020 withdrawnRelease notes
Open source →Added
Arcsiterator
Changed
- Rename "nodes" to "arcs"
- Layout optimization
- Refactor and improve length limits
-
0.3.512 Dec 2020 -
0.3.406 Dec 2020 -
0.3.305 Dec 2020 -
0.3.205 Dec 2020 -
0.3.105 Dec 2020 -
0.3.005 Dec 2020 withdrawn -
0.2.005 Sep 2020 -
0.1.004 Aug 2020