46 releases

new 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

#801 in Procedural macros

Download history 4124/week @ 2024-08-02 4823/week @ 2024-08-09 3554/week @ 2024-08-16 4503/week @ 2024-08-23 3733/week @ 2024-08-30 4450/week @ 2024-09-06 4676/week @ 2024-09-13 6108/week @ 2024-09-20 6118/week @ 2024-09-27 5422/week @ 2024-10-04 6678/week @ 2024-10-11 6510/week @ 2024-10-18 6511/week @ 2024-10-25 5584/week @ 2024-11-01 9759/week @ 2024-11-08 7569/week @ 2024-11-15

30,851 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