aboutsummaryrefslogtreecommitdiffstats
path: root/validator_derive/tests/run-pass
AgeCommit message (Collapse)Author
2019-10-17Fix bug + cargo fmtVincent Prouillet
2019-04-28Issue #69: Change `range` to require only one argCaroline Glassberg-Powell
Currently range is hard-coded to take both max and min. This is unhelpful in cases where we may only want to check one of the bounds. Update so that it behaves more like the `length` validator and can take either max or min, as well as both. Also ensure that at least one of them is supplied.
2018-05-29Prepare for releaseVincent Prouillet
2018-04-13fix path parsing for regex validatorsErin
see also: 8ca1fe94d779dcccf4b3f4c23a08f3ede7e10956
2018-03-18Fix path parsing for custom validatorsBastien Orivel
`::foo::bar` isn't a valid ident in syn 0.12. This lead to some code failing to compile if it was using paths as custom validators. This fixes it and adds a test.
2017-11-07Ability to validate an international phone numberValerian Saliou
Signed-off-by: Valerian Saliou <valerian@valeriansaliou.name> Derives for the ‘phone’ validator (still unsure about it) Signed-off-by: Valerian Saliou <valerian@valeriansaliou.name> Fix review Merge + Add missing documented ‘credit_cards’ feature Signed-off-by: Valerian Saliou <valerian@valeriansaliou.name> Fix Signed-off-by: Valerian Saliou <valerian@valeriansaliou.name> Fix Signed-off-by: Valerian Saliou <valerian@valeriansaliou.name> Merge Signed-off-by: Valerian Saliou <valerian@valeriansaliou.name> ‘credit_cards’ feature is no longer needed as per #33 Signed-off-by: Valerian Saliou <valerian@valeriansaliou.name>
2017-05-28RevampVincent Prouillet
2017-05-22Add test for Option in range validatorVincent Prouillet
2017-01-19Validator works for Option<&Vincent Prouillet
2017-01-19Make it work with lifetimesVincent Prouillet
2017-01-16Struct level validationVincent Prouillet
2016-12-29Added must_matchVincent Prouillet
2016-12-28Initial commitVincent Prouillet