NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #3026 most downloaded on crates.io
Abstractions for types representing octet sequences.
Last release 5 months ago
24 Apr 2026
Release timing varies
gaps range from 2 weeks to 1.5 years
Nearly every release is documented
notes for 11 of 11 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
11 releases · first in 2022
One column per quarter.
Introduced a new feature alloc that only uses the alloc module of the standard library. The existing std feature implies alloc and is still the defaul
Improvements
alloc that only uses the alloc module of the standard library. The existing std feature implies alloc and is still the default. (#68)Released 2026-04-24.
Improvements
alloc that only uses the alloc module of
the standard library. The existing std feature implies alloc and is
still the default. (#68)Fix Array::resize_raw to allow resizing to the length of the array. ( #63 by @edmonds )
Added Str::try_copy_from_str and Str::copy_from_str to create a new Str<_> by copying from a &str .
New
Str::try_copy_from_str and Str::copy_from_str to create a new
Str<_> by copying from a &str. (#56)Bug fixes
OctetsBuilder::with_capacity impl for
heapless::Vec<..>. (#59)Added an impl of SerialzeOctets for plain, unsized [u8] .
New
SerialzeOctets for plain, unsized [u8]. (#54)Removed the impls of Borrow<[u8]> for Str<_> and StrBuilder<_> ( Borrow<str> is still there).
Released 2024-01-30.
Breaking changes
Borrow<[u8]> for Str<_> and StrBuilder<_>
(Borrow<str> is still there). (#52)New
Update heapless dependency to 0.8. ( #47 by @reitermarkus )
Breaking changes
Don’t enable bytes’ std feature by default. ( #45 by @reitermarkus )
Bug fixes
std feature by default. (#45 by @reitermarkus)Added Parser::with_range and Parser::try_with_range that allow creating a parser positioned and length-limited according to a given range.
New
Parser::with_range and Parser::try_with_range that allow creating a parser positioned and length-limited according to a given range. (#43)Release 2023-11-16.
New
Parser::with_range and Parser::try_with_range that allow
creating a parser positioned and length-limited according to a given
range. (#43)Change the lifetime of the range for a reference to the lifetime of the reference. ( #41 by @xofyarg )
Breaking changes
New
BuilderAppendError<_> type alias that simplifies trait bounds for complex FromBuilder trait bounds. (#38)Bug fixes
Parser::peek_all to only return data up until the parser's length rather than all data. (#40)Release 2023-10-18.
Breaking changes
New
BuilderAppendError<_> type alias that simplifies trait bounds
for complex FromBuilder trait bounds. (#38)Bug fixes
Parser::peek_all to only return data up until the parser's
length rather than all data. (#40)Drop the OctetsRef trait and introduce a new Octets trait that takes over its purpose. This requires Rust 1.65.0.
Breaking Changes
OctetsRef trait and introduce a new Octets trait that takes over its purpose. This requires Rust 1.65.0. (#12)Octets::range to use a range and drop all the convenience methods. (#13)OctetsBuilder to the new FreezeBuilder trait. (#25)len and is_empty methods from the OctetsBuilder trait. These can be requested via AsRef<[u8]> if necessary. ([#20])traits into octets and builder,types to array, andSmallOctets to octets. (#18)Parser have been renamed to make it clear they parse big-endian integers and new methods for parsing little-endian integers have been added. (#35)SerializeOctets and DeserializeOctets have been redesigned for greater flexibility. (#21)New
Parser::parse_parser that allows parsing a given number of octets and return them as a cloned parser. (#10)Parser to parse 64 and 128 bit integers. (#11)heapless crate. (#19)Octets implementation for Array<N>. (#29)Octets implementation for Arc<[u8]>. (#28)OctetsBuilder and Truncate for mutable references of types that are OctetsBuilder and Truncate, respectively. (#30)&str and &[u8] to Str<[u8]>. (#31)Array::resize_raw. (#32, #33)Released 2023-05-12.
Breaking Changes
OctetsRef trait and introduce a new Octets trait that takes
over its purpose. This requires Rust 1.65.0. (#12)Octets::range to use a range and drop all the
convenience methods. (#13)OctetsBuilder to the new FreezeBuilder trait. (#25)len and is_empty methods from the OctetsBuilder trait.
These can be requested via AsRef<[u8]> if necessary. ([#20])traits into octets and builder,types to array, andSmallOctets to octets. (#18)Parser have been renamed to make it
clear they parse big-endian integers and new methods for parsing
little-endian integers have been added. (#35)SerializeOctets and DeserializeOctets have been
redesigned for greater flexibility. (#21)New
Parser::parse_parser that allows parsing a given number of octets
and return them as a cloned parser. (#10)Parser to parse 64 and 128 bit integers. (#11)heapless crate. (#19)Octets implementation for Array<N>. (#29)Octets implementation for Arc<[u8]>. (#28)OctetsBuilder and Truncate for
mutable references of types that are OctetsBuilder and Truncate,
respectively. (#30)&str and &[u8] to Str<[u8]>. (#31)Array::resize_raw. (#32, #33)Released 2022-08-18. Initial release.
Released 2022-08-18.
Initial release.
Your coding agent can read these notes before it upgrades. Set up the MCP server →