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

#769 in Procedural macros

Download history 3978/week @ 2024-08-26 4365/week @ 2024-09-02 4045/week @ 2024-09-09 5505/week @ 2024-09-16 6149/week @ 2024-09-23 5724/week @ 2024-09-30 5245/week @ 2024-10-07 7192/week @ 2024-10-14 6864/week @ 2024-10-21 5883/week @ 2024-10-28 6278/week @ 2024-11-04 9551/week @ 2024-11-11 7748/week @ 2024-11-18 7118/week @ 2024-11-25 7689/week @ 2024-12-02 7043/week @ 2024-12-09

29,940 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