Decision Workspace
rust-2fa-hotp-totp vs rust-otp vs totp-rfc
Side-by-side comparison of Rust crates
35
rust-2fa-hotp-totp
experimentalv0.1.0
Zero dependency* HOTP/TOTP 2FA
54
rust-otp
growingv3.0.0
A modern Rust library for performing the HMAC-based One-Time Password (HOTP) and Time-based One-Time Password (TOTP) algorithms with async support.
48
totp-rfc
experimentalv0.1.2
Security-hardened, allocation-free no_std HOTP and TOTP for Rust with strict RFC 4226/6238 behavior
Core Metrics
| rust-2fa-hotp-totp | rust-otp | totp-rfc | |
|---|---|---|---|
| Health Score | 35 | 54 | 48 |
| Total Downloads | 27 | 33.3K | 67 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 1 | 0 |
| Releases | 1 | 3 | 3 |
| Last Updated | 178d ago | 180d ago | 71d ago |
| Age | 5m | 2y 9m | 2m |
Health Breakdown
rust-2fa-hotp-totp
Maintenance
5
Quality
13
Community
5
Popularity
2
Documentation
10
rust-otp
Maintenance
9
Quality
21
Community
7
Popularity
5
Documentation
12
totp-rfc
Maintenance
10
Quality
15
Community
6
Popularity
2
Documentation
15
Technical Details
| rust-2fa-hotp-totp | rust-otp | totp-rfc | |
|---|---|---|---|
| Version | 0.1.0 | 3.0.0 | 0.1.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 1 | 4 | 6 |
| Crate Size | 141KB | 10KB | 42KB |
| Features | 0 | 2 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | 1.70 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •rust-otp leads with a health score of 54/100, but none of the options score above 80.
- •rust-2fa-hotp-totp, totp-rfc are pre-1.0 — API may change.