Keats / validator

Simple validation for Rust structs
MIT License
2k stars 144 forks source link

What is validator_derive used for and how? #295

Closed HosMercury closed 7 months ago

HosMercury commented 7 months ago

Title

Keats commented 7 months ago

See the first example in the README. It's used to define those attributes above the fields to auto-generate the validation at compile time