Decision Workspace
new_type vs g2gen vs g2p
Side-by-side comparison of Rust crates
40
new_type
growingv0.4.1
Experimental implementation of newtypes by type level logic.
55
g2gen
growingv1.2.2
A macro to create types that implement fast finite field arithmetic.
54
g2p
growingv1.2.2
A crate to create types that implement fast finite field arithmetic.
Core Metrics
| new_type | g2gen | g2p | |
|---|---|---|---|
| Health Score | 40 | 55 | 54 |
| Total Downloads | 8.3K | 4.1M | 4.1M |
| 30d Downloads | 123 | 335.8K | 335.8K |
| Dependents | 6 | 11 | 57 |
| Releases | 5 | 10 | 14 |
| Last Updated | 1166d ago | 369d ago | 369d ago |
| Age | 5y 5m | 7y | 7y 3m |
Health Breakdown
new_type
Maintenance
4
Quality
16
Community
6
Popularity
5
Documentation
9
g2gen
Maintenance
5
Quality
19
Community
9
Popularity
8
Documentation
14
g2p
Maintenance
5
Quality
16
Community
11
Popularity
8
Documentation
14
Technical Details
| new_type | g2gen | g2p | |
|---|---|---|---|
| Version | 0.4.1 | 1.2.2 | 1.2.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT/Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 0 | 4 | 7 |
| Crate Size | 4KB | 12KB | 19KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 7.1% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | — | 1.61 | 1.61 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •g2gen leads with a health score of 55/100, but none of the options score above 80.
- •g2p has the most downloads (4.1M), suggesting wider adoption.
- •⚠ new_type, g2gen, g2p have not been updated in over a year.
- •new_type is pre-1.0 — API may change.