Keats / validator

Simple validation for Rust structs
MIT License
1.91k stars 140 forks source link

Publish AsRegex #329

Closed flx5 closed 5 days ago

flx5 commented 2 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 5 days ago

Thanks!