Decision Workspace
sqlx-data-macros vs auto_enums vs turbomcp-macros
Side-by-side comparison of Rust crates
46
sqlx-data-macros
experimentalv0.1.0
Procedural macros for sqlx-data - #[repo] and #[dml] derive macros with automatic SQL generation, repository pattern, data access layer, and compile-time query validation
66
auto_enums
growingv0.8.8
A library for to allow multiple return types by automatically generated enum.
66
turbomcp-macros
growingv3.0.10
Procedural macros for ergonomic MCP tool and resource registration
Core Metrics
| sqlx-data-macros | auto_enums | turbomcp-macros | |
|---|---|---|---|
| Health Score | 46 | 66 | 66 |
| Total Downloads | 56 | 12.4M | 14.0K |
| 30d Downloads | 19 | 1.0M | 2.4K |
| Dependents | 6 | 241 | 140 |
| Releases | 1 | 57 | 69 |
| Last Updated | 49d ago | 28d ago | 1d ago |
| Age | 1m | 7y 3m | 7m |
Health Breakdown
sqlx-data-macros
Maintenance
10
Quality
16
Community
8
Popularity
2
Documentation
10
auto_enums
Maintenance
17
Quality
17
Community
12
Popularity
8
Documentation
12
turbomcp-macros
Maintenance
19
Quality
19
Community
11
Popularity
5
Documentation
12
Technical Details
| sqlx-data-macros | auto_enums | turbomcp-macros | |
|---|---|---|---|
| Version | 0.1.0 | 0.8.8 | 3.0.10 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | Apache-2.0 OR MIT | MIT |
| Dependencies | 8 | 14 | 13 |
| Crate Size | 76KB | 58KB | 43KB |
| Features | 19 | 21 | 5 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | — | 1.71 | 1.89.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •auto_enums leads with a health score of 66/100, but none of the options score above 80.
- •auto_enums is depended on by 241 crates — strongest ecosystem trust.
- •sqlx-data-macros, auto_enums are pre-1.0 — API may change.