#sqlx #macro #sql #toolkit #postgresql #sqlite #mysql

sqlx-macros-core

Macro support core for SQLx, the Rust SQL toolkit. Not intended to be used directly.

11 releases

0.8.2 Sep 3, 2024
0.8.0 Jul 23, 2024
0.7.4 Mar 12, 2024
0.7.3 Nov 23, 2023
0.7.0-alpha.2 Mar 17, 2023

#2730 in Database interfaces

Download history 302627/week @ 2024-08-27 334504/week @ 2024-09-03 331967/week @ 2024-09-10 302669/week @ 2024-09-17 344712/week @ 2024-09-24 344538/week @ 2024-10-01 358417/week @ 2024-10-08 379322/week @ 2024-10-15 406247/week @ 2024-10-22 394962/week @ 2024-10-29 394057/week @ 2024-11-05 407666/week @ 2024-11-12 398265/week @ 2024-11-19 298959/week @ 2024-11-26 351196/week @ 2024-12-03 346096/week @ 2024-12-10

1,464,902 downloads per month
Used in 820 crates (2 directly)

MIT/Apache

1MB
18K SLoC

Support crate for SQLx's proc macros.

Note: Semver Exempt API

The API of this crate is not meant for general use and does not follow Semantic Versioning. The only crate that follows Semantic Versioning in the project is the sqlx crate itself. If you are building a custom SQLx driver, you should pin an exact version of this and sqlx-core to avoid breakages:

sqlx-core = "=0.6.2"
sqlx-macros-core = "=0.6.2"

And then make releases in lockstep with sqlx-core. We recommend all driver crates, in-tree or otherwise, use the same version numbers as sqlx-core to avoid confusion.

Dependencies

~9–28MB
~451K SLoC