synonym 0.1.6

Customizable derive macro to create newtypes. It peeks into the underlying type to choose which traits should be implemented.
Documentation
1
2
3
4
5
6
7
#[test]
fn tests() {
    let t = trybuild::TestCases::new();

    t.pass("tests/cases/pass-*.rs");
    t.compile_fail("tests/cases/fail-*.rs");
}