Releases: jam1garner/binread
Releases · jam1garner/binread
v2.0.0
Changelog
- Overhaul binread_derive
- Compile time improvements
- Improved error messages
- Added
try_map
attribute - [breaking change] The
pos
field of errors is nowu64
(previouslyusize
) - Fix
ignore
andreturn_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_assert
for 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
andbinread::io
for cases where thestd
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
Bump to 1.4.1