Decision Workspace
db_proc_macro vs trait-gen vs hadris-macros
Side-by-side comparison of Rust crates
45
db_proc_macro
experimentalv0.1.1
Procedural macros for db_core project
67
trait-gen
stablev2.0.10
Trait implementation generator macro
65
hadris-macros
growingv2.5.0
Proc macros for dual sync/async code generation in Hadris
Core Metrics
| db_proc_macro | trait-gen | hadris-macros | |
|---|---|---|---|
| Health Score | 45 | 67 | 65 |
| Total Downloads | 150 | 184.2K | 25.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1 | 14 | 135 |
| Releases | 2 | 30 | 20 |
| Last Updated | 188d ago | 16d ago | 3d ago |
| Age | 6m | 3y 7m | 7m |
Health Breakdown
db_proc_macro
Maintenance
9
Quality
13
Community
7
Popularity
3
Documentation
13
trait-gen
Maintenance
18
Quality
20
Community
8
Popularity
6
Documentation
15
hadris-macros
Maintenance
19
Quality
18
Community
11
Popularity
5
Documentation
12
Technical Details
| db_proc_macro | trait-gen | hadris-macros | |
|---|---|---|---|
| Version | 0.1.1 | 2.0.10 | 2.5.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 4 | 5 | 1 |
| Crate Size | 9KB | 31KB | 3KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | 1.61.0 | 1.88.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •trait-gen leads with a health score of 67/100, but none of the options score above 80.
- •hadris-macros is depended on by 135 crates — strongest ecosystem trust.
- •db_proc_macro is pre-1.0 — API may change.