48 releases

0.13.1 Mar 1, 2025
0.12.9 Nov 22, 2024
0.12.0-beta.3 Jul 16, 2024
0.12.0-alpha.1 Mar 1, 2024
0.10.0-beta.1 Jul 14, 2023

#1664 in Procedural macros

Download history 7689/week @ 2024-12-02 7043/week @ 2024-12-09 5740/week @ 2024-12-16 3572/week @ 2024-12-23 2891/week @ 2024-12-30 4474/week @ 2025-01-06 6102/week @ 2025-01-13 6053/week @ 2025-01-20 4989/week @ 2025-01-27 4905/week @ 2025-02-03 6193/week @ 2025-02-10 5275/week @ 2025-02-17 5131/week @ 2025-02-24 5674/week @ 2025-03-03 5321/week @ 2025-03-10 6068/week @ 2025-03-17

22,390 downloads per month
Used in 13 crates (3 directly)

MIT license

475KB
9K SLoC

pgrx-macros

Procedural macros for pgrx.

Provides:

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

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

Dependencies

~3.5MB
~56K SLoC