accord icon indicating copy to clipboard operation
accord copied to clipboard

Data validation library for Rust

Results 9 accord issues
Sort by recently updated
recently updated
newest added

I'm really not sure about this, since it's easy to make an URL validator too restrictive so as to hit false on obscure but valid urls.

feature

I'm really not sure about this, since it's easy to make an email validator too restrictive so as to hit false on obscure but valid urls.

feature

The patter used to implement `length` and `range` validators using `RangeInclusive` is ugly; especially the panic here: https://github.com/ChrisBuchholz/accord/blob/master/src/validators.rs#L74 Find a better way.

enhancement

If you're looking for an idea for something to do, I think it would be pretty cool if I could: ```rust #[derive(AccordValidate)] struct Account { #[accord_rule(length(1..64))] name: String, #[accord_rule(length(5..64), contains("@"),...

feature

Being able to derive support for `FromForm for Validated where T: Accord + Validated` and `FromData` would make Rocket integration much simpler.

feature