Decision Workspace
hcl-primitives vs alloy-primitives vs alloy-chains
Side-by-side comparison of Rust crates
62
hcl-primitives
growingv0.1.12
Primitives used by the HCL sub-languages
75
alloy-primitives
stablev1.7.3
Ethereum primitive types
73
alloy-chains
growingv0.2.39
Canonical type definitions for EIP-155 chains
Core Metrics
| hcl-primitives | alloy-primitives | alloy-chains | |
|---|---|---|---|
| Health Score | 62 | 75 | 73 |
| Total Downloads | 2.4M | 31.4M | 17.2M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 121 | 15.7K | 1.0K |
| Releases | 16 | 80 | 110 |
| Last Updated | 61d ago | 29d ago | 23d ago |
| Age | 3y 7m | 3y 4m | 2y 11m |
Health Breakdown
hcl-primitives
Maintenance
15
Quality
16
Community
10
Popularity
8
Documentation
13
alloy-primitives
Maintenance
18
Quality
17
Community
20
Popularity
8
Documentation
12
alloy-chains
Maintenance
18
Quality
16
Community
19
Popularity
8
Documentation
12
Technical Details
| hcl-primitives | alloy-primitives | alloy-chains | |
|---|---|---|---|
| Version | 0.1.12 | 1.7.3 | 0.2.39 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 38 | 9 |
| Crate Size | 17KB | 125KB | 82KB |
| Features | 4 | 33 | 6 |
| Yanked % | 0.0% | 3.8% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.85 | 1.85 |
| Owners | 1 | 2 (team) | 2 (team) |
Links
Quick Verdict
- •alloy-primitives leads with a health score of 75/100, but none of the options score above 80.
- •alloy-primitives is depended on by 15.7K crates — strongest ecosystem trust.
- •hcl-primitives, alloy-chains are pre-1.0 — API may change.