46 releases

0.12.9 Nov 22, 2024
0.12.7 Oct 27, 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

#839 in Procedural macros

Download history 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 10016/week @ 2024-11-09 7497/week @ 2024-11-16 6803/week @ 2024-11-23 7815/week @ 2024-11-30 7493/week @ 2024-12-07 5800/week @ 2024-12-14 3651/week @ 2024-12-21 2814/week @ 2024-12-28 4381/week @ 2025-01-04 6021/week @ 2025-01-11

17,534 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
~55K SLoC