annotated 0.4.0

Declarative validation for structs and enums, like data annotations, that works with serde: every broken rule and missing field in one error
Documentation
1
2
3
4
5
6
7
8
9
10
11
error: a struct's `#[validate(...)]` takes `report_all` and `custom(...)`
 --> tests/ui/unknown_struct_option.rs:4:12
  |
4 | #[validate(report_everything)]
  |            ^^^^^^^^^^^^^^^^^

error: a struct's `#[validate(...)]` takes `report_all` and `custom(...)`
  --> tests/ui/unknown_struct_option.rs:11:12
   |
11 | #[validate(required)]
   |            ^^^^^^^^