| Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
|
|
see also: 8ca1fe94d779dcccf4b3f4c23a08f3ede7e10956
|
|
`::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.
|
|
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|