78 releases

0.7.4 Mar 14, 2023
0.7.2 Feb 23, 2023
0.6.1 Dec 6, 2022
0.6.0-alpha.2 Nov 18, 2022
0.0.8 Jul 28, 2020

#1092 in Procedural macros

Download history 111/week @ 2024-03-11 72/week @ 2024-03-18 75/week @ 2024-03-25 196/week @ 2024-04-01 95/week @ 2024-04-08 98/week @ 2024-04-15 141/week @ 2024-04-22 41/week @ 2024-04-29 114/week @ 2024-05-06 138/week @ 2024-05-13 116/week @ 2024-05-20 102/week @ 2024-05-27 72/week @ 2024-06-03 76/week @ 2024-06-10 83/week @ 2024-06-17 59/week @ 2024-06-24

298 downloads per month
Used in 10 crates (5 directly)

MIT license

490KB
9K SLoC

pgx-macros

Procedural macros for pgx.

Provides:

- #[pg_extern]
- #[pg_guard]
- #[pg_test]
- #[derive(PostgresType)]
- #[derive(PostgresEnum)]
- #[derive(PostgresGucEnum)]

Using pgx as a dependency necessitates that pgx-macros also be a dependency

Dependencies

~4.5MB
~76K SLoC