#parser #validation #macro #dont #try-from #structs #autogenerating

mogrify

Utility macro for autogenerating a “Parse, Don’t Validate” TryFrom implementation for structs

7 releases

0.3.2 Sep 8, 2024
0.3.1 Sep 8, 2024
0.2.0 Aug 7, 2024
0.1.2 Aug 7, 2024
0.1.1 Dec 15, 2023

#1156 in Rust patterns

Download history 224/week @ 2024-08-04 8/week @ 2024-08-11 388/week @ 2024-09-08 68/week @ 2024-09-15 26/week @ 2024-09-22 10/week @ 2024-09-29 3/week @ 2024-10-06

121 downloads per month

MIT license

16KB
409 lines

Mogrify

Utility macro for autogenerating a "Parse, Don't Validate" TryFrom implementation for structs

Dependencies

~225–660KB
~16K SLoC