validatable 0.1.0

Define validated data types once and share them between the frontend and backend of isomorphic Rust web applications, with plain, input, and form representations
Documentation
1
2
3
4
5
6
7
8
#[test]
fn compile() {
    let t = trybuild::TestCases::new();
    t.pass("tests/compile_pass/*.rs");
    t.compile_fail("tests/compile_fail/*.rs");
    #[cfg(feature = "serde")]
    t.compile_fail("tests/compile_fail_serde/*.rs");
}