Releases: NLnetLabs/octseq
Releases · NLnetLabs/octseq
0.6.1
0.6.0
0.5.2
0.5.1
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
Breaking changes
- Change the lifetime of the range for a reference to the lifetime of the reference. (#41 by @xofyarg)
- Explicitly re-export select items at crate level rather than wildcard export everything. (#39)
New
- Adds a
BuilderAppendError<_>type alias that simplifies trait bounds for complexFromBuildertrait bounds. (#38)
Bug fixes
- Fix
Parser::peek_allto only return data up until the parser's length rather than all data. (#40)
0.2.0
Breaking Changes
- Drop the
OctetsReftrait and introduce a newOctetstrait that takes over its purpose. This requires Rust 1.65.0. (#12) - Change the signature of
Octets::rangeto use a range and drop all the convenience methods. (#13) - Split conversion from an octets builder to an immutable octets sequence off of
OctetsBuilderto the newFreezeBuildertrait. (#25) - Dropped the
lenandis_emptymethods from theOctetsBuildertrait. These can be requested viaAsRef<[u8]>if necessary. ([#20]) - Rearranged module structure:
- broke up
traitsintooctetsandbuilder, - renamed
typestoarray, and - moved
SmallOctetstooctets. (#18)
- broke up
- The integer parsing methods on
Parserhave been renamed to make it clear they parse big-endian integers and new methods for parsing little-endian integers have been added. (#35) - The optional traits
SerializeOctetsandDeserializeOctetshave been redesigned for greater flexibility. (#21)
New
- Added
Parser::parse_parserthat allows parsing a given number of octets and return them as a cloned parser. (#10) - Add methods to
Parserto parse 64 and 128 bit integers. (#11) - Added support for the
heaplesscrate. (#19) - Added missing
Octetsimplementation forArray<N>. (#29) - Added
Octetsimplementation forArc<[u8]>. (#28) - Added blanket implementations for
OctetsBuilderandTruncatefor mutable references of types that areOctetsBuilderandTruncate, respectively. (#30) - Added conversions from
&strand&[u8]toStr<[u8]>. (#31) - Added
Array::resize_raw. (#32, #33)