Decision Workspace
default-constructor-macros vs default-constructor vs bon
Side-by-side comparison of Rust crates
39
default-constructor-macros
growingv0.5.1
Macros for default-constructor.
41
default-constructor
growingv0.5.1
Macros for creating pseudo-dsls that constructs structs through default construction and field conversion.
78
bon
stablev3.10.2
Next-gen compile-time-checked builder generator, named function's arguments, and more!
Core Metrics
| default-constructor-macros | default-constructor | bon | |
|---|---|---|---|
| Health Score | 39 | 41 | 78 |
| Total Downloads | 6.7K | 14.6K | 64.8M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 6 | 13 | 10.5K |
| Releases | 5 | 12 | 51 |
| Last Updated | 680d ago | 680d ago | 7d ago |
| Age | 2y 4m | 2y 5m | 2y 3m |
Health Breakdown
default-constructor-macros
Maintenance
4
Quality
15
Community
5
Popularity
5
Documentation
10
default-constructor
Maintenance
6
Quality
14
Community
6
Popularity
5
Documentation
10
bon
Maintenance
19
Quality
22
Community
17
Popularity
8
Documentation
12
Technical Details
| default-constructor-macros | default-constructor | bon | |
|---|---|---|---|
| Version | 0.5.1 | 0.5.1 | 3.10.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 1 | 5 |
| Crate Size | 3KB | 9KB | 67KB |
| Features | 0 | 2 | 7 |
| Yanked % | 0.0% | 8.3% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | — | 1.88.0 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •bon leads with a health score of 78/100, but none of the options score above 80.
- •bon is depended on by 10.5K crates — strongest ecosystem trust.
- •⚠ default-constructor-macros, default-constructor have not been updated in over a year.
- •default-constructor-macros, default-constructor are pre-1.0 — API may change.