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
73
bon
stablev3.9.1
Next-gen compile-time-checked builder generator, named function's arguments, and more!
54
fancy_constructor
growingv2.1.0
Derive a highly configurable constructor for your struct
Core Metrics
| constructor-lite | bon | fancy_constructor | |
|---|---|---|---|
| Health Score | 37 | 73 | 54 |
| Total Downloads | 4.1K | 34.2M | 2.7M |
| 30d Downloads | 0 | 4.3M | 299.8K |
| Dependents | 0 | 6.4K | 12 |
| Releases | 3 | 46 | 10 |
| Last Updated | 802d ago | 73d ago | 379d ago |
| Age | 3y 2m | 1y 10m | 2y 8m |
Health Breakdown
constructor-lite
Maintenance
4
Quality
14
Community
5
Popularity
4
Documentation
10
bon
Maintenance
15
Quality
21
Community
17
Popularity
8
Documentation
12
fancy_constructor
Maintenance
7
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 73/100, but none of the options score above 80.
- •bon is depended on by 6.4K crates — strongest ecosystem trust.
- •⚠ constructor-lite, fancy_constructor have not been updated in over a year.
- •constructor-lite is pre-1.0 — API may change.