Decision Workspace
structype vs structype_derive vs try_as
Side-by-side comparison of Rust crates
38
structype
growingv3.0.0
This crate contains the exported types used in https://github.com/nohupped/structype_derive
39
structype_derive
growingv3.0.0
A derive macro crate that lets you view an allowed type's fields and will let you over-ride it.
36
try_as
growingv0.1.0
Macros and traits to ease using enums whose sole purpose is to enumerate a set of types.
Core Metrics
| structype | structype_derive | try_as | |
|---|---|---|---|
| Health Score | 38 | 39 | 36 |
| Total Downloads | 2.4K | 4.1K | 5.2K |
| 30d Downloads | 20 | 5 | 142 |
| Dependents | 1 | 0 | 23 |
| Releases | 1 | 3 | 1 |
| Last Updated | 1852d ago | 1852d ago | 1191d ago |
| Age | 5y | 5y 1m | 3y 3m |
Health Breakdown
structype
Maintenance
1
Quality
20
Community
4
Popularity
4
Documentation
9
structype_derive
Maintenance
4
Quality
19
Community
3
Popularity
4
Documentation
9
try_as
Maintenance
1
Quality
15
Community
7
Popularity
4
Documentation
9
Technical Details
| structype | structype_derive | try_as | |
|---|---|---|---|
| Version | 3.0.0 | 3.0.0 | 0.1.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | MIT | non-standard |
| Dependencies | 1 | 6 | 2 |
| Crate Size | 1KB | 5KB | 4KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | — |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •structype_derive leads with a health score of 39/100, but none of the options score above 80.
- •try_as has the most downloads (5.2K), suggesting wider adoption.
- •⚠ structype, structype_derive, try_as have not been updated in over a year.
- •try_as is pre-1.0 — API may change.