Decision Workspace
default-constructor-macros vs default-constructor vs bon
Side-by-side comparison of Rust crates
40
default-constructor-macros
growingv0.5.1
Macros for default-constructor.
43
default-constructor
growingv0.5.1
Macros for creating pseudo-dsls that constructs structs through default construction and field conversion.
76
bon
stablev3.9.1
Next-gen compile-time-checked builder generator, named function's arguments, and more!
Core Metrics
| default-constructor-macros | default-constructor | bon | |
|---|---|---|---|
| Health Score | 40 | 43 | 76 |
| Total Downloads | 6.3K | 14.2K | 26.3M |
| 30d Downloads | 107 | 68 | 4.5M |
| Dependents | 6 | 13 | 4.8K |
| Releases | 5 | 12 | 46 |
| Last Updated | 484d ago | 484d ago | 14d ago |
| Age | 1y 9m | 1y 11m | 1y 9m |
Health Breakdown
default-constructor-macros
Maintenance
5
Quality
15
Community
5
Popularity
5
Documentation
10
default-constructor
Maintenance
8
Quality
14
Community
6
Popularity
5
Documentation
10
bon
Maintenance
18
Quality
21
Community
17
Popularity
8
Documentation
12
Technical Details
| default-constructor-macros | default-constructor | bon | |
|---|---|---|---|
| Version | 0.5.1 | 0.5.1 | 3.9.1 |
| 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 | 6 |
| Crate Size | 3KB | 9KB | 67KB |
| Features | 0 | 2 | 7 |
| Yanked % | 0.0% | 8.3% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | 1.59.0 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •bon leads with a health score of 76/100, but none of the options score above 80.
- •bon is depended on by 4.8K 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.