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
48
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 | 48 | 43 |
| Total Downloads | 1.4M | 443.5K | 443.5K |
| 30d Downloads | 394.6K | 49.0K | 49.0K |
| Dependents | 16 | 29 | 4 |
| Releases | 4 | 4 | 4 |
| Last Updated | 476d ago | 797d ago | 797d ago |
| Age | 5y 11m | 2y 6m | 2y 6m |
Health Breakdown
optfield
Maintenance
8
Quality
14
Community
8
Popularity
7
Documentation
11
partially
Maintenance
5
Quality
17
Community
9
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
- •optfield leads with a health score of 48/100, but none of the options score above 80.
- •⚠ optfield, partially, partially_derive have not been updated in over a year.