lits 0.2.0

A proc-macro collection that parses human-readable literals at compile time.
Documentation
1
2
3
4
5
6
7
8
9
10
#[test]
fn ui_tests() {
  let t = trybuild::TestCases::new();

  t.pass("tests/trybuild/duration_pass.rs");
  t.compile_fail("tests/trybuild/duration_fail.rs");

  t.pass("tests/trybuild/bytes_pass.rs");
  t.compile_fail("tests/trybuild/bytes_fail.rs");
}