v0.9.0
Breaking changes
garde::rules::length::Size
was renamed toHasLength
, and thesize
method tolength
- All rule traits working on string types now have blanket impls over
AsRef<str>
. This includes:alphanumeric
ascii
contains
credit_card
email
ip
pattern
phone_number
prefix
suffix
url
- Rule trait methods were renamed to match the pattern
validate_<rule>
, e.g.garde::rules::Url::try_parse_url
was changed tovalidate_url
.
Other changes
All the rule traits should now be fully documented.
Full Changelog: https://github.com/jprochazk/garde/compare/v0.8.1..v0.9.0