Decision Workspace
otp vs roka-totp vs genotp
Side-by-side comparison of Rust crates
34
otp
growingv0.2.0
Pure rust implementation of Hash- and Time-based One Time Passwords in Rust.
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
| otp | roka-totp | genotp | |
|---|---|---|---|
| Health Score | 34 | 47 | 46 |
| Total Downloads | 6.3K | 47 | 160 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 2 | 2 | 3 |
| Last Updated | 1036d ago | 141d ago | 132d ago |
| Age | 10y | 4m | 4m |
Health Breakdown
otp
Maintenance
3
Quality
15
Community
3
Popularity
5
Documentation
8
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
| otp | roka-totp | genotp | |
|---|---|---|---|
| Version | 0.2.0 | 0.1.0 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | non-standard | Apache-2.0 OR MIT | MIT |
| Dependencies | 2 | 1 | 11 |
| Crate Size | 3KB | 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.
- •otp has the most downloads (6.3K), suggesting wider adoption.
- •⚠ otp has not been updated in over a year.