#postgresql #structs #row #macro #consuming #api-bindings #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

#19 in #consuming

Download history 9/week @ 2024-12-10

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

~200–630KB
~15K SLoC