binread 2.2.0

A Rust crate for helping read structs from binary data using ✨macro magic✨
Documentation
1
2
3
4
5
6
7
error: BinRead on unit-like enums requires either `#[br(repr = ...)]` on the enum or `#[br(magic = ...)]` on at least one variant
 --> $DIR/enum_missing_magic_repr.rs:3:10
  |
3 | #[derive(BinRead)]
  |          ^^^^^^^
  |
  = note: this error originates in the derive macro `BinRead` (in Nightly builds, run with -Z macro-backtrace for more info)