Decision Workspace
typeshaper vs struct-to-enum-macros vs partially
Side-by-side comparison of Rust crates
42
typeshaper
experimentalv0.1.5
TypeScript utility-type idioms (Omit, Pick, Merge, Partial…) for Rust structs — one-line type algebra expressions
53
struct-to-enum-macros
experimentalv1.1.2
Derive macros for generating enums from structs.
51
partially
growingv0.2.1
Provides the Partial trait, and an optional macro to mirror a struct, wrapping each field in an Option
Core Metrics
| typeshaper | struct-to-enum-macros | partially | |
|---|---|---|---|
| Health Score | 42 | 53 | 51 |
| Total Downloads | 305 | 197 | 559.0K |
| 30d Downloads | 0 | 0 | 14.9K |
| Dependents | 0 | 4 | 492 |
| Releases | 6 | 4 | 4 |
| Last Updated | 81d ago | 117d ago | 905d ago |
| Age | 3m | 4m | 2y 10m |
Health Breakdown
typeshaper
Maintenance
9
Quality
14
Community
6
Popularity
3
Documentation
10
struct-to-enum-macros
Maintenance
13
Quality
18
Community
7
Popularity
3
Documentation
12
partially
Maintenance
5
Quality
17
Community
12
Popularity
7
Documentation
10
Technical Details
| typeshaper | struct-to-enum-macros | partially | |
|---|---|---|---|
| Version | 0.1.5 | 1.1.2 | 0.2.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 7 | 3 |
| Crate Size | 25KB | 14KB | 5KB |
| Features | 0 | 3 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | 1.71.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •struct-to-enum-macros leads with a health score of 53/100, but none of the options score above 80.
- •partially has the most downloads (559.0K), suggesting wider adoption.
- •partially is depended on by 492 crates — strongest ecosystem trust.
- •⚠ partially has not been updated in over a year.
- •typeshaper, partially are pre-1.0 — API may change.