bitfields 2.0.6

Macro for for generating bitfields from structs and enum bitflags for defining packed binary schemas in low-level systems (e.g. embedded development or emulators)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0277]: `Bitfield` doesn't implement `Debug`
  --> tests/compile_error_cases/errors/bitfield_disable_debug.rs:13:22
   |
13 |     println!("{:?}", bitfield);
   |               ----   ^^^^^^^^ `Bitfield` cannot be formatted using `{:?}` because it doesn't implement `Debug`
   |               |
   |               required by this formatting parameter
   |
   = help: the trait `Debug` is not implemented for `Bitfield`
   = note: add `#[derive(Debug)]` to `Bitfield` or manually `impl Debug for Bitfield`
help: consider annotating `Bitfield` with `#[derive(Debug)]`
   |
 3 + #[derive(Debug)]
 4 | #[bitfield(u64, debug = false)]
   |