#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


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

~215–650KB
~15K SLoC