Crate regex_with_derive

Source

Derive Macrosยง

Capturable
Helper macro for deriving the FromStr trait for a struct that captures regular expressions. regex_with that specifies the regular expression pattern.
DeFromStr
Implements the FromStr trait for an struct to provide custom string parsing logic that leverages a regex-based serde deserializer. This macro uses Capturable and serde::Deserialize, which must be derived separately to provide regex capturing functionality.