Decision Workspace
constructor-lite vs bon vs fancy_constructor
Side-by-side comparison of Rust crates
37
constructor-lite
growingv0.3.0
Generate minimal constructors for structs
76
bon
stablev3.9.1
Next-gen compile-time-checked builder generator, named function's arguments, and more!
55
fancy_constructor
growingv2.1.0
Derive a highly configurable constructor for your struct
Core Metrics
| constructor-lite | bon | fancy_constructor | |
|---|---|---|---|
| Health Score | 37 | 76 | 55 |
| Total Downloads | 4.1K | 26.3M | 2.2M |
| 30d Downloads | 5 | 4.6M | 235.6K |
| Dependents | 0 | 4.8K | 12 |
| Releases | 3 | 46 | 10 |
| Last Updated | 743d ago | 14d ago | 320d ago |
| Age | 3y 1m | 1y 9m | 2y 6m |
Health Breakdown
constructor-lite
Maintenance
4
Quality
14
Community
5
Popularity
4
Documentation
10
bon
Maintenance
18
Quality
21
Community
17
Popularity
8
Documentation
12
fancy_constructor
Maintenance
8
Quality
19
Community
8
Popularity
8
Documentation
12
Technical Details
| constructor-lite | bon | fancy_constructor | |
|---|---|---|---|
| Version | 0.3.0 | 3.9.1 | 2.1.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 6 | 4 |
| Crate Size | 5KB | 67KB | 8KB |
| Features | 0 | 7 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.59.0 | 1.71.0 |
| Owners | 1 | 2 | 1 |
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.
- •⚠ constructor-lite has not been updated in over a year.
- •constructor-lite is pre-1.0 — API may change.