Decision Workspace
sqlformat vs diesel vs datafusion-physical-expr-common
Side-by-side comparison of Rust crates
54
sqlformat
growingv0.5.0
Formats whitespace in a SQL string to make it easier to read
81
diesel
stablev2.3.14
A safe, extensible ORM and Query Builder for PostgreSQL, SQLite, and MySQL
77
datafusion-physical-expr-common
stablev55.2.0
Common functionality of physical expression for DataFusion query engine
Core Metrics
| sqlformat | diesel | datafusion-physical-expr-common | |
|---|---|---|---|
| Health Score | 54 | 81 | 77 |
| Total Downloads | 65.0M | 39.5M | 23.5M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1.2K | 9.8K | 599 |
| Releases | 25 | 99 | 36 |
| Last Updated | 366d ago | 2d ago | 2d ago |
| Age | 6y 5m | 10y 10m | 2y 5m |
Health Breakdown
sqlformat
Maintenance
8
Quality
11
Community
12
Popularity
8
Documentation
15
diesel
Maintenance
20
Quality
19
Community
19
Popularity
8
Documentation
15
datafusion-physical-expr-common
Maintenance
22
Quality
20
Community
15
Popularity
8
Documentation
12
Technical Details
| sqlformat | diesel | datafusion-physical-expr-common | |
|---|---|---|---|
| Version | 0.5.0 | 2.3.14 | 55.2.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 8 | 35 | 12 |
| Crate Size | 42KB | 461KB | 88KB |
| Features | 1 | 26 | 2 |
| Yanked % | 8.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.84 | 1.86.0 | 1.94.0 |
| Owners | 1 | 3 (team) | 6 |
Links
Quick Verdict
- •diesel has the highest health score (81/100) — a strong overall choice.
- •sqlformat has the most downloads (65.0M), suggesting wider adoption.
- •diesel is depended on by 9.8K crates — strongest ecosystem trust.
- •⚠ sqlformat has not been updated in over a year.
- •sqlformat is pre-1.0 — API may change.