20 releases

new 0.1.5 Nov 19, 2020
0.1.4 Nov 16, 2020
0.1.0 Jan 9, 2020
0.0.18 Nov 10, 2020
0.0.8 Jul 28, 2020

#264 in Procedural macros

Download history 40/week @ 2020-08-06 40/week @ 2020-08-13 19/week @ 2020-08-20 35/week @ 2020-08-27 69/week @ 2020-09-03 11/week @ 2020-09-10 26/week @ 2020-09-17 79/week @ 2020-09-24 80/week @ 2020-10-01 20/week @ 2020-10-08 29/week @ 2020-10-15 34/week @ 2020-10-22 16/week @ 2020-10-29 50/week @ 2020-11-05 84/week @ 2020-11-12 296/week @ 2020-11-19

181 downloads per month
Used in 3 crates

MIT license

80KB
2K 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

~3.5–4.5MB
~126K SLoC