78 releases

0.7.4 Mar 14, 2023
0.7.2 Feb 23, 2023
0.6.1 Dec 6, 2022
0.6.0-alpha.2 Nov 18, 2022
0.0.8 Jul 28, 2020

#1687 in Procedural macros

Download history 86/week @ 2024-07-20 93/week @ 2024-07-27 34/week @ 2024-08-03 28/week @ 2024-08-10 23/week @ 2024-08-17 21/week @ 2024-08-24 10/week @ 2024-08-31 5/week @ 2024-09-07 5/week @ 2024-09-14 172/week @ 2024-09-21 73/week @ 2024-09-28 7/week @ 2024-10-05 19/week @ 2024-10-12 15/week @ 2024-10-19 18/week @ 2024-10-26 29/week @ 2024-11-02

82 downloads per month
Used in 10 crates (5 directly)

MIT license

490KB
9K SLoC

pgx-macros

Procedural macros for pgx.

Provides:

- #[pg_extern]
- #[pg_guard]
- #[pg_test]
- #[derive(PostgresType)]
- #[derive(PostgresEnum)]
- #[derive(PostgresGucEnum)]

Using pgx as a dependency necessitates that pgx-macros also be a dependency

Dependencies

~4MB
~74K SLoC