Validatron
Validatron is a data structure validation library for Rust that is designed for performing extensive integrity checks on user supplied data prior to use.
It is heavily inspired by the keats/validator crate but with different design choices:
- do not fail fast, return as many errors as possible
- return a serializable error type
- provide easily extendable validators
Example
(Check the examples directory for additional examples.)
use Validate;
License
validatron
is licensed under the MIT license; see the LICENSE file for more details.