#validation #macro #parser #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

#1648 in Rust patterns

MIT license

16KB
409 lines

Mogrify

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

Dependencies

~200–630KB
~15K SLoC