Skip to content

Releases: uael/nearest

v0.4.5

09 Mar 08:51
34c879b

Choose a tag to compare

Fixed

  • (nearest-derive) add Flat bounds to unbounded type params in emit impl (#32)

v0.4.4

09 Mar 07:58
09cd261

Choose a tag to compare

Added

  • add array emitter for [T; N] fields (#30)

v0.4.3

09 Mar 01:43
f708eeb

Choose a tag to compare

Other

  • deduplicate buffer operations between Emitter and Region (#28)

v0.4.2

08 Mar 19:31
ea29b32

Choose a tag to compare

Other

  • rewrite README with comprehensive examples and comparison (#26)

v0.4.1

08 Mar 19:06
552f4d2

Choose a tag to compare

Other

  • remove alloc dependency from Session list operations (#24)

v0.4.0

08 Mar 18:00
9efef54

Choose a tag to compare

Other

  • use explicit near()/list()/maybe() wrappers for Emit builders (#21)

v0.3.2

08 Mar 15:18
f737b13

Choose a tag to compare

Added

  • self-sufficient Near and NearList Flat impls (#18)

v0.3.1

15 Feb 15:25
69f1b09

Choose a tag to compare

Added

  • add consuming conversions for Region (#17)
  • add #[flat(into)] and #[flat(rename)] derive macro attributes (#16)
  • add collection methods to NearList and Session (#15)
  • implement Display for Near, NearList, and Region
  • add unsafe Region::from_bytes_unchecked() and from_buf_unchecked()
  • implement FusedIterator for NearListIter and add NearList::last
  • implement PartialEq and Eq for Region, Near, and NearList

Fixed

  • avoid raw byte comparison on types with enum padding in Miri tests

Other

  • fix crate version in README.md

v0.3.0

15 Feb 14:41

Choose a tag to compare

Added

  • add optional serde feature with Serialize/Deserialize for Region
  • [breaking] add Flat::validate with Region::as_bytes / Region::from_bytes

Fixed

  • mark pub(crate) functions with unsafe preconditions as unsafe fn
  • copy before validate in from_bytes to avoid double read

Other

  • document serialization, features, no_std and serde in lib.rs and README

v0.2.1

15 Feb 13:02

Choose a tag to compare

Fixed

  • correct swapped arrows in Region memory layout diagram

Other

  • add 5 real-world examples (expr, json, ecs, fs, fsm)