SQLx
Async Rust SQL toolkit with compile-time checked queries and no DSL, for PostgreSQL, MySQL, MariaDB and SQLite.
SQLx is an async SQL crate for Rust that checks queries at compile time without a domain-specific language. The README says it is not an ORM and points readers who want an asynchronous ORM to an ecosystem page. It works with PostgreSQL, MySQL, MariaDB and SQLite.
The repository is the project’s current home.
Worth knowing
The compile-time checked query macros connect to a development database at build time, and an offline mode caches the query analysis for builds without one. The repository moved from another GitHub owner, and the crate’s package page and the README still link the old address. The README says SQL Server support was removed pending a rewrite of its driver.
Sources
- 2026-11-16: links, Written in, GitHub stars
api.github.com/repos/transact-rs/sqlx - 2026-11-16: links
crates.io/api/v1/crates/sqlx - 2026-11-16: Maintainer
github.com/transact-rs/sqlx/blob/main/LICENSE-MIT - 2026-11-16: First release, Current major version, Last release
crates.io/api/v1/crates/sqlx/versions - 2026-11-16: Categories, Runtime, Databases, Install with, License, License model
github.com/transact-rs/sqlx/blob/main/README.md - 2026-11-16: Contributors
api.github.com/repos/transact-rs/sqlx/contributors?per_page=1