binread
A Rust crate for helping read structs from binary data using ✨macro magic✨
2.2.0
4.3M downloads/mo
#4851 most downloaded on crates.io
jam1garner/binread
What this package is like to depend on
Last release 5 years ago
no release in 18 months
Release timing varies
gaps range from 9 days to 5 months
Rarely documented
notes for 1 of 11 stable releases
3 versions withdrawn
withdrawn after publishing
6 years old
15 releases · first in 2020
0 releases in the last 12 months
see the full history below
Release timeline
15 releases · Apr 2020 to Aug 2021Releases
latest 15-
2.2.025 Aug 2021Nothing published for this version
-
2.1.101 Apr 2021Nothing published for this version
-
2.1.028 Mar 2021 withdrawnNothing published for this version
-
2.0.018 Mar 2021Release notes
Open source →Changelog
- Overhaul binread_derive
- Compile time improvements
- Improved error messages
- Added
try_mapattribute - [breaking change] The
posfield of errors is nowu64(previouslyusize) - Fix
ignoreandreturn_unexpected_errorattributes - 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
assertattribuets ifdirective now supports non-Optionfields- Fixed outstanding issues with
no_stdsupport - Unify
std::ioandbinread::iofor cases where thestdfeature 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)
- Overhaul binread_derive
-
2.0.0-beta.109 Mar 2021 pre-release -
1.4.111 Nov 2020Nothing published for this version
-
1.4.027 Oct 2020Nothing published for this version
-
1.3.016 Oct 2020Nothing published for this version
-
1.2.016 Oct 2020Nothing published for this version
-
1.1.129 Aug 2020Nothing published for this version
-
1.1.028 Aug 2020 withdrawnNothing published for this version
-
1.0.215 Jul 2020Nothing published for this version
-
1.0.115 Jun 2020Nothing published for this version
-
1.0.005 Apr 2020Nothing published for this version
-
1.0.0-rc103 Apr 2020 pre-release withdrawnNothing published for this version