lits 0.3.1

A proc-macro collection that parses human-readable literals at compile time.
Documentation
1
2
3
4
5
error: failed to parse string as byte size: couldn't parse "not-a-size" into a ByteSize, cannot parse float from empty string
 --> tests/trybuild/bytes_fail.rs:2:16
  |
2 |   lits::bytes!("not-a-size");
  |                ^^^^^^^^^^^^