Decision Workspace
struct-builder vs builder-pattern vs builder-pattern-macro
Side-by-side comparison of Rust crates
45
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 | 45 | 52 | 41 |
| Total Downloads | 5.2K | 102.1K | 64.7K |
| 30d Downloads | 8 | 6.6K | 5.3K |
| Dependents | 0 | 109 | 3 |
| Releases | 5 | 22 | 3 |
| Last Updated | 549d ago | 1636d ago | 1636d ago |
| Age | 1y 6m | 4y 7m | 4y 5m |
Health Breakdown
struct-builder
Maintenance
10
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 109 crates — strongest ecosystem trust.
- •⚠ struct-builder, builder-pattern, builder-pattern-macro have not been updated in over a year.