#regex #derive #enums #struct #deserialize

from-regex

Derive deserialization of structs and enums from regex patterns

2 unstable releases

0.2.1 Jul 26, 2021
0.1.0 Jul 6, 2021

#244 in Parser tooling

MIT license

15KB
278 lines

FromRegex

crates.io

Derive some useful regex methods on a struct or enum, given a pattern, optionally capturing data.

See the documentation for more!

Prior Work

adhoc_derive provides a similar derive macro, but with some different structure/options.

Dependencies

~4–5MB
~98K SLoC