Decision Workspace
wrapper-lite vs newtype_derive vs g2gen
Side-by-side comparison of Rust crates
55
wrapper-lite
growingv0.6.2
Helper macro for building a wrapper type and implementing common traits for it.
48
newtype_derive
growingv0.1.6
This crate provides macros for deriving common traits for newtype structures.
54
g2gen
growingv1.2.2
A macro to create types that implement fast finite field arithmetic.
Core Metrics
| wrapper-lite | newtype_derive | g2gen | |
|---|---|---|---|
| Health Score | 55 | 48 | 54 |
| Total Downloads | 138.6K | 1.8M | 6.7M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 59 | 467 | 11 |
| Releases | 13 | 5 | 10 |
| Last Updated | 90d ago | 3733d ago | 566d ago |
| Age | 1y 4m | 11y 1m | 7y 6m |
Health Breakdown
wrapper-lite
Maintenance
15
Quality
12
Community
10
Popularity
6
Documentation
12
newtype_derive
Maintenance
3
Quality
17
Community
10
Popularity
7
Documentation
11
g2gen
Maintenance
4
Quality
19
Community
9
Popularity
8
Documentation
14
Technical Details
| wrapper-lite | newtype_derive | g2gen | |
|---|---|---|---|
| Version | 0.6.2 | 0.1.6 | 1.2.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT/Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 0 | 2 | 4 |
| Crate Size | 15KB | 7KB | 12KB |
| Features | 0 | 3 | 0 |
| Yanked % | 15.4% | 0.0% | 0.0% |
| Edition | 2021 | — | 2018 |
| MSRV | 1.56.0 | — | 1.61 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •wrapper-lite leads with a health score of 55/100, but none of the options score above 80.
- •g2gen has the most downloads (6.7M), suggesting wider adoption.
- •newtype_derive is depended on by 467 crates — strongest ecosystem trust.
- •⚠ newtype_derive, g2gen have not been updated in over a year.
- •wrapper-lite, newtype_derive are pre-1.0 — API may change.