Decision Workspace
optfield vs partially vs partially_derive
Side-by-side comparison of Rust crates
48
optfield
growingv0.4.0
A macro that generates structs with optional fields
53
partially
growingv0.2.1
Provides the Partial trait, and an optional macro to mirror a struct, wrapping each field in an Option
43
partially_derive
growingv0.2.1
Macros for the partially crate
Core Metrics
| optfield | partially | partially_derive | |
|---|---|---|---|
| Health Score | 48 | 53 | 43 |
| Total Downloads | 3.1M | 664.0K | 663.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 18 | 1.4K | 4 |
| Releases | 4 | 4 | 4 |
| Last Updated | 672d ago | 993d ago | 993d ago |
| Age | 6y 6m | 3y | 3y |
Health Breakdown
optfield
Maintenance
7
Quality
14
Community
8
Popularity
8
Documentation
11
partially
Maintenance
5
Quality
17
Community
14
Popularity
7
Documentation
10
partially_derive
Maintenance
5
Quality
14
Community
7
Popularity
7
Documentation
10
Technical Details
| optfield | partially | partially_derive | |
|---|---|---|---|
| Version | 0.4.0 | 0.2.1 | 0.2.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 3 | 4 |
| Crate Size | 17KB | 5KB | 9KB |
| Features | 0 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | 1.61 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •partially leads with a health score of 53/100, but none of the options score above 80.
- •optfield has the most downloads (3.1M), suggesting wider adoption.
- •partially is depended on by 1.4K crates — strongest ecosystem trust.
- •⚠ optfield, partially, partially_derive have not been updated in over a year.