Decision Workspace
sha1_smol vs sha1 vs hmac-sha1-compact
Side-by-side comparison of Rust crates
51
sha1_smol
growingv1.0.1
Minimal dependency-free implementation of SHA1 for Rust.
70
sha1
growingv0.11.0
SHA-1 hash function
67
hmac-sha1-compact
stablev1.1.8
SHA1 hashing and HMAC-SHA1 message authentication in pure Rust, with streaming APIs and no_std support
Core Metrics
| sha1_smol | sha1 | hmac-sha1-compact | |
|---|---|---|---|
| Health Score | 51 | 70 | 67 |
| Total Downloads | 191.1M | 572.4M | 7.0M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 966 | 29.8K | 68 |
| Releases | 2 | 35 | 11 |
| Last Updated | 810d ago | 91d ago | 15d ago |
| Age | 4y 8m | 11y 10m | 4y 11m |
Health Breakdown
sha1_smol
Maintenance
3
Quality
21
Community
10
Popularity
8
Documentation
9
sha1
Maintenance
11
Quality
16
Community
20
Popularity
8
Documentation
15
hmac-sha1-compact
Maintenance
16
Quality
23
Community
11
Popularity
8
Documentation
9
Technical Details
| sha1_smol | sha1 | hmac-sha1-compact | |
|---|---|---|---|
| Version | 1.0.1 | 0.11.0 | 1.1.8 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | BSD-3-Clause | MIT OR Apache-2.0 | ISC |
| Dependencies | 4 | 5 | 3 |
| Crate Size | 10KB | 15KB | 6KB |
| Features | 2 | 4 | 5 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2018 |
| MSRV | — | 1.85 | — |
| Owners | 1 | 3 (team) | 1 |
Links
Quick Verdict
- •sha1 leads with a health score of 70/100, but none of the options score above 80.
- •sha1 is depended on by 29.8K crates — strongest ecosystem trust.
- •⚠ sha1_smol has not been updated in over a year.
- •sha1 is pre-1.0 — API may change.