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
78
bon
stablev3.10.2
Next-gen compile-time-checked builder generator, named function's arguments, and more!
61
fancy_constructor
stablev2.1.1
Derive a highly configurable constructor for your struct
Core Metrics
| constructor-lite | bon | fancy_constructor | |
|---|---|---|---|
| Health Score | 37 | 78 | 61 |
| Total Downloads | 4.1K | 64.8M | 4.3M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 10.5K | 12 |
| Releases | 3 | 51 | 11 |
| Last Updated | 939d ago | 7d ago | 60d ago |
| Age | 3y 7m | 2y 3m | 3y |
Health Breakdown
constructor-lite
Maintenance
4
Quality
14
Community
5
Popularity
4
Documentation
10
bon
Maintenance
19
Quality
22
Community
17
Popularity
8
Documentation
12
fancy_constructor
Maintenance
14
Quality
19
Community
8
Popularity
8
Documentation
12
Technical Details
| constructor-lite | bon | fancy_constructor | |
|---|---|---|---|
| Version | 0.3.0 | 3.10.2 | 2.1.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 5 | 4 |
| Crate Size | 5KB | 67KB | 8KB |
| Features | 0 | 7 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.88.0 | 1.71.0 |
| Owners | 1 | 2 | 1 |
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.
- •⚠ constructor-lite has not been updated in over a year.
- •constructor-lite is pre-1.0 — API may change.