Skip to content

v0.18.0

Latest
Compare
Choose a tag to compare
@sharksforarms sharksforarms released this 07 Sep 15:23
· 11 commits to master since this release

Usability

  • Reading now requires Seek. Attributes such as seek_from_start, seek_from_current, seek_from_end, and seek_rewind were added to be able to control the position of the reader before reading a field (#360)
  • Support added for unit structs (#450)
  • to_slice was added to write an to a slice (#461)

Performance

  • The use of bits parsing is now an optional feature. If bit-level parsing is not useful for your application, you can disable it to get some performance benefits. (#446)
  • Performance of read_all was improved (#441)

Enum improvements

  • Added id_endian attribute to specify the endianness of id (#476)
  • Support for bool literals in enum id attribute (#472)
  • id_pat attribute was re-introduced (#454)