Decision Workspace
struct-builder vs builder-pattern vs builder-pattern-macro
Side-by-side comparison of Rust crates
42
struct-builder
growingv0.3.0
Derive a builder for your structs
52
builder-pattern
growingv0.4.2
A derivable macro for declaring a builder pattern.
41
builder-pattern-macro
growingv0.4.2
A macro crate for builder-pattern. Do not use this crate directly.
Core Metrics
| struct-builder | builder-pattern | builder-pattern-macro | |
|---|---|---|---|
| Health Score | 42 | 52 | 41 |
| Total Downloads | 5.2K | 117.9K | 79.0K |
| 30d Downloads | 0 | 2.2K | 2.0K |
| Dependents | 0 | 113 | 3 |
| Releases | 5 | 22 | 3 |
| Last Updated | 657d ago | 1744d ago | 1744d ago |
| Age | 1y 9m | 4y 11m | 4y 9m |
Health Breakdown
struct-builder
Maintenance
7
Quality
15
Community
6
Popularity
4
Documentation
10
builder-pattern
Maintenance
6
Quality
16
Community
12
Popularity
6
Documentation
12
builder-pattern-macro
Maintenance
4
Quality
14
Community
8
Popularity
6
Documentation
9
Technical Details
| struct-builder | builder-pattern | builder-pattern-macro | |
|---|---|---|---|
| Version | 0.3.0 | 0.4.2 | 0.4.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 3 | 5 | 4 |
| Crate Size | 10KB | 14KB | 8KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •builder-pattern leads with a health score of 52/100, but none of the options score above 80.
- •builder-pattern is depended on by 113 crates — strongest ecosystem trust.
- •⚠ struct-builder, builder-pattern, builder-pattern-macro have not been updated in over a year.