v0.5.0
Breaking changes
garde::error::Errors
type was changed to an enum (more explanation in #15)- Every rule in
garde::rules::*
now accepts constraint parameters as a tuple, e.g.prefix
isfn(value; &str, (pattern,): (&str,)) -> Result<(), Error>
What's Changed
- Implement nested validation and nested errors by @jprochazk in #15
Full Changelog: https://github.com/jprochazk/garde/commits/v0.5.0