🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.
SQLx is an async, pure Rust SQL toolkit built by The LaunchBadge team that enables compile-time checked queries without requiring a domain-specific language. It supports PostgreSQL, MySQL, MariaDB, and SQLite databases and is designed to work with multiple async runtimes including Tokio, async-std, and Actix, as well as different TLS backends. The crate features automatic statement preparation and caching, connection pooling, row streaming, nested transactions, and database-agnostic drivers written in pure Rust with zero unsafe code (except for the SQLite driver, which wraps the libsqlite3 C library).