#postgresql #structs #row #macro #data #consuming #pgde

macro pgde_derive

A macro library for consuming PostgreSQL row data into structs

5 releases

0.2.2 Jul 28, 2024
0.2.1 Jul 17, 2024
0.2.0 Jun 10, 2024
0.1.1 Jun 7, 2024
0.1.0 Jun 5, 2024

#18 in #consuming

Download history 125/week @ 2024-07-22 48/week @ 2024-07-29 26/week @ 2024-09-16 15/week @ 2024-09-23 5/week @ 2024-09-30

345 downloads per month
Used in pgde

MIT license

7KB
86 lines

A procedural macro library that enables structs with the RowConsumer trait to provide a from_row implementation. Please refer to pgde for use, examples, and limitations.


lib.rs:

A procedural macro library that enables structs with the RowConsumer trait to provide a from_row implementation. Please refer to pgde for use, examples, and limitations.

Dependencies

~250–700KB
~17K SLoC