Decision Workspace
sqlx vs diesel vs sea-orm
Side-by-side comparison of Rust crates
59
sqlx
growingv0.9.0
🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.
81
diesel
stablev2.3.14
A safe, extensible ORM and Query Builder for PostgreSQL, SQLite, and MySQL
74
sea-orm
stablev2.0.4
🐚 An async & dynamic ORM for Rust
Core Metrics
| sqlx | diesel | sea-orm | |
|---|---|---|---|
| Health Score | 59 | 81 | 74 |
| Total Downloads | 161.7M | 39.5M | 26.4M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 53.7K | 9.8K | 7.9K |
| Releases | 59 | 99 | 142 |
| Last Updated | 141d ago | 2d ago | 12d ago |
| Age | 7y 4m | 10y 10m | 5y 2m |
Health Breakdown
sqlx
Maintenance
12
Quality
12
Community
12
Popularity
8
Documentation
15
diesel
Maintenance
20
Quality
19
Community
19
Popularity
8
Documentation
15
sea-orm
Maintenance
19
Quality
16
Community
16
Popularity
8
Documentation
15
Technical Details
| sqlx | diesel | sea-orm | |
|---|---|---|---|
| Version | 0.9.0 | 2.3.14 | 2.0.4 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 23 | 35 | 40 |
| Crate Size | 236KB | 461KB | 3.8MB |
| Features | 47 | 26 | 44 |
| Yanked % | 8.5% | 0.0% | 2.8% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.94.0 | 1.86.0 | 1.94.0 |
| Owners | 2 | 3 (team) | 2 |
Links
Quick Verdict
- •diesel has the highest health score (81/100) — a strong overall choice.
- •sqlx has the most downloads (161.7M), suggesting wider adoption.
- •sqlx is depended on by 53.7K crates — strongest ecosystem trust.
- •sqlx is pre-1.0 — API may change.