rustio rustio.net

sha2_hasher vs sha2raw vs hmac-sha256

Side-by-side comparison of Rust crates

Core Metrics

sha2_hashersha2rawhmac-sha256
Health Score497168
Total Downloads187523.1K18.1M
30d Downloads027.8K1.3M
Dependents4107999
Releases33124
Last Updated128d ago77d ago101d ago
Age4m6y7y 1m

Health Breakdown

sha2_hasher
Maintenance
13
Quality
15
Community
5
Popularity
3
Documentation
13
sha2raw
Maintenance
15
Quality
20
Community
17
Popularity
7
Documentation
12
hmac-sha256
Maintenance
13
Quality
23
Community
14
Popularity
8
Documentation
10

Technical Details

sha2_hashersha2rawhmac-sha256
Version0.3.214.1.01.1.14
Stable (≥1.0)✗ No✓ Yes✓ Yes
LicenseMITMIT OR Apache-2.0ISC
Dependencies4103
Crate Size7KB11KB11KB
Features326
Yanked %0.0%0.0%0.0%
Edition202420182021
MSRV
Owners12 (team)1

Quick Verdict

  • sha2raw leads with a health score of 71/100, but none of the options score above 80.
  • hmac-sha256 has the most downloads (18.1M), suggesting wider adoption.
  • hmac-sha256 is depended on by 999 crates — strongest ecosystem trust.
  • sha2_hasher is pre-1.0 — API may change.