packbits 0.1.1

Tiny, zero-boilerplate bit packing for your own structs: convert to/from fixed-size byte arrays and integer containers with one attribute.
Documentation
1
2
3
4
5
error: expected `bytes = <int>`, integer type (u8/u16/u32/u64/u128), or `msb`/`lsb`
 --> tests/ui/wrong_attr_key.rs:3:18
  |
3 | #[packbits::pack(b = 1)]
  |                  ^