45 releases

new 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

#794 in Procedural macros

Download history 4080/week @ 2024-07-17 6191/week @ 2024-07-24 3782/week @ 2024-07-31 4531/week @ 2024-08-07 3789/week @ 2024-08-14 4372/week @ 2024-08-21 3502/week @ 2024-08-28 4730/week @ 2024-09-04 4946/week @ 2024-09-11 5402/week @ 2024-09-18 6106/week @ 2024-09-25 5348/week @ 2024-10-02 6234/week @ 2024-10-09 6438/week @ 2024-10-16 7158/week @ 2024-10-23 5194/week @ 2024-10-30

25,970 downloads per month
Used in 11 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
~55K SLoC