Rust Lits
A proc-macro collection that parses human-readable strings at compile time.
Installation
Usage
use *;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
Features
- humantime
duration!()≈humantime::parse_duration()datetime!()≈humantime::parse_rfc3339_weak()
- bytesize
bytes!()≈FromStr::parse::<bytesize::ByteSize>().as_u64()
License
MIT License.