transact-rs/sqlx
🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite. observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 98
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2440
- days_rel: n/a
- days_push: 13
- n_releases_24m: 0
Adoption not part of the score
17429 stars · 1681 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
SQLx is an async, pure Rust SQL toolkit providing database drivers for PostgreSQL, MySQL, MariaDB, and SQLite. It features compile-time checked queries without a DSL and works across async runtimes like tokio and async-std.
Use cases
- query postgres from rust async code
- compile-time checked sql queries in rust
- connect to mysql without an orm
- use sqlite in an async rust application
- write database-agnostic rust code across postgres and mysql
- avoid unsafe code in database drivers
When to choose
- you want async database access in Rust with compile-time query checking
- you prefer raw SQL over an ORM DSL
- you need pure-Rust drivers for Postgres or MySQL
- you need runtime-agnostic async support (tokio, async-std, actix)
When to avoid
- you need a full ORM with entity relationships and migrations out of the box
- you need MSSQL support
- you want a synchronous database client
- you need a database other than PostgreSQL, MySQL, MariaDB, or SQLite
Facets
library · maturity stable
database-driver database orm databases backend web-development developer-tools rust cross-platform async sql postgresql mysql sqlite compile-time-checked-queries tokio pure-rust
1 source
- readme: https://github.com/transact-rs/sqlx · fetched 2026-08-28 · af45e939a890
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| transact-rs/sqlx | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="transact-rs/sqlx")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem