Decision Workspace
rust-otp vs roka-totp vs boringauth
Side-by-side comparison of Rust crates
57
rust-otp
stablev3.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
roka-totp
experimentalv0.1.0
Zero-dependency TOTP / HOTP for Rust — RFC 4226 / 6238, std-only, no unsafe.
44
boringauth
growingv0.9.0
Straightforward password, passphrase, TOTP, and HOTP user authentication
Core Metrics
| rust-otp | roka-totp | boringauth | |
|---|---|---|---|
| Health Score | 57 | 48 | 44 |
| Total Downloads | 13.0K | 37 | 455.1K |
| 30d Downloads | 2.5K | 0 | 4.4K |
| Dependents | 1 | 0 | 6 |
| Releases | 3 | 2 | 8 |
| Last Updated | 92d ago | 53d ago | 2467d ago |
| Age | 2y 6m | 1m | 9y 1m |
Health Breakdown
rust-otp
Maintenance
12
Quality
21
Community
7
Popularity
5
Documentation
12
roka-totp
Maintenance
11
Quality
14
Community
6
Popularity
2
Documentation
15
boringauth
Maintenance
6
Quality
15
Community
5
Popularity
7
Documentation
11
Technical Details
| rust-otp | roka-totp | boringauth | |
|---|---|---|---|
| Version | 3.0.0 | 0.1.0 | 0.9.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | Apache-2.0 OR MIT | GPL-2.0 |
| Dependencies | 4 | 1 | 6 |
| Crate Size | 10KB | 22KB | 20KB |
| Features | 2 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | — |
| MSRV | 1.70 | 1.85 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •rust-otp leads with a health score of 57/100, but none of the options score above 80.
- •boringauth has the most downloads (455.1K), suggesting wider adoption.
- •⚠ boringauth has not been updated in over a year.
- •roka-totp, boringauth are pre-1.0 — API may change.