Decision Workspace
default-constructor vs default-constructor-macros vs bon
Side-by-side comparison of Rust crates
41
default-constructor
growingv0.5.1
Macros for creating pseudo-dsls that constructs structs through default construction and field conversion.
39
default-constructor-macros
growingv0.5.1
Macros for default-constructor.
78
bon
stablev3.10.2
Next-gen compile-time-checked builder generator, named function's arguments, and more!
Core Metrics
| default-constructor | default-constructor-macros | bon | |
|---|---|---|---|
| Health Score | 41 | 39 | 78 |
| Total Downloads | 14.6K | 6.7K | 64.8M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 13 | 6 | 10.5K |
| Releases | 12 | 5 | 51 |
| Last Updated | 680d ago | 680d ago | 7d ago |
| Age | 2y 5m | 2y 4m | 2y 3m |
Health Breakdown
default-constructor
Maintenance
6
Quality
14
Community
6
Popularity
5
Documentation
10
default-constructor-macros
Maintenance
4
Quality
15
Community
5
Popularity
5
Documentation
10
bon
Maintenance
19
Quality
22
Community
17
Popularity
8
Documentation
12
Technical Details
| default-constructor | default-constructor-macros | 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 | 1 | 3 | 5 |
| Crate Size | 9KB | 3KB | 67KB |
| Features | 2 | 0 | 7 |
| Yanked % | 8.3% | 0.0% | 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, default-constructor-macros have not been updated in over a year.
- •default-constructor, default-constructor-macros are pre-1.0 — API may change.