libpacket-derive 0.1.1

Automatic bit manipulation for binary data formats
Documentation
1
2
3
4
5
error: Only field names, constants, integers, basic arithmetic expressions (+ - * / %) and parentheses are allowed in the "length" attribute
  --> $DIR/length_expr.rs:14:16
   |
14 |     #[length = "banana + 7.5"]
   |                ^^^^^^^^^^^^^^