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

#816 in Procedural macros

Download history 5918/week @ 2024-09-22 5866/week @ 2024-09-29 5235/week @ 2024-10-06 6902/week @ 2024-10-13 7037/week @ 2024-10-20 5869/week @ 2024-10-27 6256/week @ 2024-11-03 9664/week @ 2024-11-10 7684/week @ 2024-11-17 6990/week @ 2024-11-24 7864/week @ 2024-12-01 7200/week @ 2024-12-08 5664/week @ 2024-12-15 3593/week @ 2024-12-22 2938/week @ 2024-12-29 3997/week @ 2025-01-05

16,522 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