better_default 1.0.5

The std Default derive, but it allows to constomize the default fields values and has some upgrades.
Documentation
1
2
3
4
5
6
7
8
9
10
#[test]
fn test_compile() {
    let test_case = trybuild::TestCases::new();

    test_case.pass("./tests/compile_pass/*/*.rs");
    test_case.pass("./tests/compile_pass/*.rs");

    test_case.compile_fail("./tests/compile_fail/*/*.rs");
    test_case.compile_fail("./tests/compile_fail/*.rs");
}