Decision Workspace
hcl-primitives vs alloy-primitives vs alloy-chains
Side-by-side comparison of Rust crates
57
hcl-primitives
growingv0.1.11
Primitives used by the HCL sub-languages
75
alloy-primitives
stablev1.5.7
Ethereum primitive types
75
alloy-chains
growingv0.2.33
Canonical type definitions for EIP-155 chains
Core Metrics
| hcl-primitives | alloy-primitives | alloy-chains | |
|---|---|---|---|
| Health Score | 57 | 75 | 75 |
| Total Downloads | 676.2K | 16.9M | 8.0M |
| 30d Downloads | 164.9K | 1.5M | 954.7K |
| Dependents | 114 | 11.3K | 583 |
| Releases | 15 | 74 | 104 |
| Last Updated | 174d ago | 37d ago | 3d ago |
| Age | 3y | 2y 9m | 2y 4m |
Health Breakdown
hcl-primitives
Maintenance
11
Quality
16
Community
10
Popularity
7
Documentation
13
alloy-primitives
Maintenance
18
Quality
17
Community
20
Popularity
8
Documentation
12
alloy-chains
Maintenance
20
Quality
16
Community
19
Popularity
8
Documentation
12
Technical Details
| hcl-primitives | alloy-primitives | alloy-chains | |
|---|---|---|---|
| Version | 0.1.11 | 1.5.7 | 0.2.33 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 36 | 9 |
| Crate Size | 17KB | 115KB | 57KB |
| Features | 4 | 30 | 6 |
| Yanked % | 0.0% | 4.0% | 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 11.3K crates — strongest ecosystem trust.
- •hcl-primitives, alloy-chains are pre-1.0 — API may change.