Decision Workspace
otp-auth vs otp2 vs totp-rs
Side-by-side comparison of Rust crates
37
otp-auth
growingv0.1.0
A Rust Implementation of HMAC and Time-based One-Time Passwords.
32
otp2
growingv0.0.1
Provides both HOTP and TOTP implementations of one-time passcodes
66
totp-rs
stablev6.0.0
RFC-compliant TOTP implementation with ease of use as a goal and additional QoL features.
Core Metrics
| otp-auth | otp2 | totp-rs | |
|---|---|---|---|
| Health Score | 37 | 32 | 66 |
| Total Downloads | 692 | 1.5K | 11.1M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 1.9K |
| Releases | 1 | 1 | 51 |
| Last Updated | 451d ago | 1192d ago | 64d ago |
| Age | 1y 2m | 3y 3m | 6y 6m |
Health Breakdown
otp-auth
Maintenance
2
Quality
16
Community
6
Popularity
3
Documentation
10
otp2
Maintenance
1
Quality
14
Community
3
Popularity
4
Documentation
10
totp-rs
Maintenance
15
Quality
16
Community
15
Popularity
8
Documentation
12
Technical Details
| otp-auth | otp2 | totp-rs | |
|---|---|---|---|
| Version | 0.1.0 | 0.0.1 | 6.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 0 | 7 | 12 |
| Crate Size | 19KB | 4KB | 50KB |
| Features | 0 | 0 | 10 |
| Yanked % | 0.0% | 0.0% | 47.1% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | — | — | 1.88 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •totp-rs leads with a health score of 66/100, but none of the options score above 80.
- •totp-rs is depended on by 1.9K crates — strongest ecosystem trust.
- •⚠ otp-auth, otp2 have not been updated in over a year.
- •otp-auth, otp2 are pre-1.0 — API may change.