valitron is an new validator, It has multiple features:
- Ergonomics validation
- Build-in rule, e.g. Required, StartWith ...
- Closure validate
- Related validate, e.g. password confirm
- Custom rule with other parameter
- Check / modify input data
- Custom error message
- collect validate error messages
- Support all types data on #[dervic(Serialize, Deserialize)]
Top comments (1)
This is a custom validate rule example:
