Decision Workspace
otp2 vs roka-totp vs genotp
Side-by-side comparison of Rust crates
32
otp2
growingv0.0.1
Provides both HOTP and TOTP implementations of one-time passcodes
47
roka-totp
experimentalv0.1.0
Zero-dependency TOTP / HOTP for Rust — RFC 4226 / 6238, std-only, no unsafe.
46
genotp
experimentalv0.3.0
Secure HOTP/TOTP library implementing RFC 4226 and RFC 6238
Core Metrics
| otp2 | roka-totp | genotp | |
|---|---|---|---|
| Health Score | 32 | 47 | 46 |
| Total Downloads | 1.5K | 47 | 160 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 1 | 2 | 3 |
| Last Updated | 1192d ago | 141d ago | 132d ago |
| Age | 3y 3m | 4m | 4m |
Health Breakdown
otp2
Maintenance
1
Quality
14
Community
3
Popularity
4
Documentation
10
roka-totp
Maintenance
10
Quality
14
Community
6
Popularity
2
Documentation
15
genotp
Maintenance
13
Quality
14
Community
6
Popularity
3
Documentation
10
Technical Details
| otp2 | roka-totp | genotp | |
|---|---|---|---|
| Version | 0.0.1 | 0.1.0 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | Apache-2.0 OR MIT | MIT |
| Dependencies | 7 | 1 | 11 |
| Crate Size | 4KB | 22KB | 79KB |
| Features | 0 | 0 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.85 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •roka-totp leads with a health score of 47/100, but none of the options score above 80.
- •otp2 has the most downloads (1.5K), suggesting wider adoption.
- •⚠ otp2 has not been updated in over a year.