Skip to content

Releases: jam1garner/binread

v2.0.0

18 Mar 17:50
Compare
Choose a tag to compare

Changelog

  • Overhaul binread_derive
    • Compile time improvements
    • Improved error messages
  • Added try_map attribute
  • [breaking change] The pos field of errors is now u64 (previously usize)
  • Fix ignore and return_unexpected_error attributes
  • General documentation improvements
  • Add #[br(repr(T))] attribute to more easily parse C-style enums
  • [breaking change] Mutually exclusive attributes now properly raise an error
  • Fix pre_assertfor unit-style enums
  • Allow adding custom messages for assert attribuets
  • if directive now supports non-Option fields
  • Fixed outstanding issues with no_std support
  • Unify std::io and binread::io for cases where the std feature is enabled, simplifying describing trait bounds for parsers
  • Improve debug output for errors
    • positions are now before the value causing the error
    • enum related errors now show their errors (#40)

1.4.1

11 Nov 16:38
Compare
Choose a tag to compare
Bump to 1.4.1