Decision Workspace
sqlx-data-macros vs magic_derive vs qbrs-macros
Side-by-side comparison of Rust crates
41
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
58
magic_derive
experimentalv0.1.3
Procedural macros for the Magic ORM, providing derive macros for model definitions.
50
qbrs-macros
experimentalv0.5.0
Proc macros for qbrs (schema derive, sql! escape hatch).
Core Metrics
| sqlx-data-macros | magic_derive | qbrs-macros | |
|---|---|---|---|
| Health Score | 41 | 58 | 50 |
| Total Downloads | 201 | 294 | 105 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 6 | 8 | 5 |
| Releases | 1 | 4 | 5 |
| Last Updated | 246d ago | 22d ago | 26d ago |
| Age | 8m | 7m | 1m |
Health Breakdown
sqlx-data-macros
Maintenance
4
Quality
16
Community
8
Popularity
3
Documentation
10
magic_derive
Maintenance
17
Quality
14
Community
9
Popularity
3
Documentation
15
qbrs-macros
Maintenance
14
Quality
14
Community
8
Popularity
2
Documentation
12
Technical Details
| sqlx-data-macros | magic_derive | qbrs-macros | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.3 | 0.5.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 8 | 3 | 3 |
| Crate Size | 76KB | 9KB | 21KB |
| Features | 19 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | 1.85 | 1.88 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •magic_derive leads with a health score of 58/100, but none of the options score above 80.