rydantic 0.3.1

Type-driven models, validation, JSON Schema and native Cap'n Proto for Rust
Documentation
1
2
3
4
5
6
7
#[test]
fn invalid_declarations_and_mutation_are_compile_errors() {
    let tests = trybuild::TestCases::new();
    tests.compile_fail("tests/ui/*.rs");
    #[cfg(feature = "capnp")]
    tests.compile_fail("tests/ui-capnp/*.rs");
}