Keats / validator

Simple validation for Rust structs
MIT License
2.07k stars 151 forks source link

Publish AsRegex #329

Closed flx5 closed 4 months ago

flx5 commented 6 months ago

Hi, I wanted to add the ValidateRegex trait to a custom struct. However I was unable to do so because the regex parameter of the validate_regex function is declared as impl AsRegex. That trait is not reexported.

Keats commented 4 months ago

Thanks!