SQLx
Compile-time checked SQL for Rust
Rust / Systems · OSS/MIT · 17.4k
What's Good
Queries checked against the actual database schema. Async from the ground up. No ORM overhead—just SQL. Supports Postgres, MySQL, and SQLite.
The Catch
Compile-time checking requires database connection. Migration story is simpler than some alternatives. Complex queries need understanding.
Verdict
SQL that the compiler actually checks.
Embed
[](https://stackgems.com/gems/sqlx)