45 releases

0.12.8 Nov 2, 2024
0.12.5 Sep 26, 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

#810 in Procedural macros

Download history 3679/week @ 2024-07-27 4076/week @ 2024-08-03 4688/week @ 2024-08-10 3875/week @ 2024-08-17 4246/week @ 2024-08-24 3996/week @ 2024-08-31 4160/week @ 2024-09-07 5516/week @ 2024-09-14 5782/week @ 2024-09-21 5898/week @ 2024-09-28 5272/week @ 2024-10-05 6983/week @ 2024-10-12 6973/week @ 2024-10-19 5825/week @ 2024-10-26 6134/week @ 2024-11-02 8396/week @ 2024-11-09

28,301 downloads per month
Used in 12 crates (3 directly)

MIT license

470KB
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
~54K SLoC