Skip to content

Commit 657c7e8

Browse files
authored
Prepare for release 0.2.0. (#36)
Breaking Changes * Drop the `OctetsRef` trait and introduce a new `Octets` trait that takes over its purpose. This requires Rust 1.65.0. ([#12]) * Change the signature of `Octets::range` to use a range and drop all the convenience methods. ([#13]) * Split conversion from an octets builder to an immutable octets sequence off of `OctetsBuilder` to the new `FreezeBuilder` trait. ([#25]) * Dropped the `len` and `is_empty` methods from the `OctetsBuilder` trait. These can be requested via `AsRef<[u8]>` if necessary. ([#20]) * Rearranged module structure: * broke up `traits` into `octets` and `builder`, * renamed `types` to `array`, and * moved `SmallOctets` to `octets`. ([#18]) * The integer parsing methods on `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]) * The optional traits `SerializeOctets` and `DeserializeOctets` have been redesigned for greater flexibility. ([#21]) New * Added `Parser::parse_parser` that allows parsing a given number of octets and return them as a cloned parser. ([#10]) * Add methods to `Parser` to parse 64 and 128 bit integers. ([#11]) * Added support for the `heapless` crate. ([#19]) * Added missing `Octets` implementation for `Array<N>`. ([#29]) * Added `Octets` implementation for `Arc<[u8]>`. ([#28]) * Added blanket implementations for `OctetsBuilder` and `Truncate` for mutable references of types that are `OctetsBuilder` and `Truncate`, respectively. ([#30]) * Added conversions from `&str` and `&[u8]` to `Str<[u8]>`. ([#31]) * Added `Array::resize_raw`. ([#32], [#33])
1 parent 4925385 commit 657c7e8

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "octseq"
3-
version = "0.2.0-dev"
3+
version = "0.2.0"
44
edition = "2021"
55
rust-version = "1.65"
66
authors = ["Martin Hoffmann <[email protected]>"]

Changelog.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Changelog
22

3-
## Unreleased future version
3+
## 0.2.0
4+
5+
Released 2023-05-12.
46

57
Breaking Changes
68

@@ -36,10 +38,6 @@ New
3638
* Added conversions from `&str` and `&[u8]` to `Str<[u8]>`. ([#31])
3739
* Added `Array::resize_raw`. ([#32], [#33])
3840

39-
Bug Fixes
40-
41-
Other Changes
42-
4341
[#10]: https://github.com/NLnetLabs/octseq/pull/10
4442
[#11]: https://github.com/NLnetLabs/octseq/pull/11
4543
[#12]: https://github.com/NLnetLabs/octseq/pull/12

0 commit comments

Comments
 (0)