# SQLx

Async Rust SQL toolkit with compile-time checked queries and no DSL, for PostgreSQL, MySQL, MariaDB and SQLite.


Source: https://findsoftware.frbit.cloud/sqlx-rust/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- repository: https://github.com/transact-rs/sqlx
- docs: https://docs.rs/sqlx
- discord: https://discord.gg/uuruzJ7

### Identity

- status: active
- maintainer: LaunchBadge, LLC
- maintainerType: company
- parent: unknown
- firstRelease: 2019
- hqCountry: unknown

### Kind

- category: library
- hosting: binary
- language: rust
- runtime: binary
- runtimeMin: unknown
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: postgres, mysql, mariadb, sqlite
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: cargo

### License

- licenseModel: open-source
- license: Apache-2.0, MIT

### Releases

- currentMajor: 0
- latestReleaseDate: 2026-05-21

### Adoption

- githubStargazers: 17677
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 447
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://api.github.com/repos/transact-rs/sqlx (read 2026-11-16)
- urls: https://crates.io/api/v1/crates/sqlx (read 2026-11-16)
- maintainer: https://github.com/transact-rs/sqlx/blob/main/LICENSE-MIT (read 2026-11-16)
- firstRelease: https://crates.io/api/v1/crates/sqlx/versions (read 2026-11-16)
- category: https://github.com/transact-rs/sqlx/blob/main/README.md (read 2026-11-16)
- language: https://api.github.com/repos/transact-rs/sqlx (read 2026-11-16)
- runtime: https://github.com/transact-rs/sqlx/blob/main/README.md (read 2026-11-16)
- databases: https://github.com/transact-rs/sqlx/blob/main/README.md (read 2026-11-16)
- installMethod: https://github.com/transact-rs/sqlx/blob/main/README.md (read 2026-11-16)
- license: https://github.com/transact-rs/sqlx/blob/main/README.md (read 2026-11-16)
- license: https://github.com/transact-rs/sqlx/blob/main/README.md (read 2026-11-16)
- licenseModel: https://github.com/transact-rs/sqlx/blob/main/README.md (read 2026-11-16)
- currentMajor: https://crates.io/api/v1/crates/sqlx/versions (read 2026-11-16)
- latestReleaseDate: https://crates.io/api/v1/crates/sqlx/versions (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/transact-rs/sqlx (read 2026-11-16)
- contributors: https://api.github.com/repos/transact-rs/sqlx/contributors?per_page=1 (read 2026-11-16)

## Notes

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](https://github.com/transact-rs/sqlx) 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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
