Decision Workspace
boringauth vs roka-totp vs totp-rs
Side-by-side comparison of Rust crates
44
boringauth
growingv0.9.0
Straightforward password, passphrase, TOTP, and HOTP user authentication
48
roka-totp
experimentalv0.1.0
Zero-dependency TOTP / HOTP for Rust — RFC 4226 / 6238, std-only, no unsafe.
68
totp-rs
stablev5.7.2
RFC-compliant TOTP implementation with ease of use as a goal and additionnal QoL features.
Core Metrics
| boringauth | roka-totp | totp-rs | |
|---|---|---|---|
| Health Score | 44 | 48 | 68 |
| Total Downloads | 455.1K | 37 | 8.1M |
| 30d Downloads | 4.4K | 0 | 568.8K |
| Dependents | 6 | 0 | 1.5K |
| Releases | 8 | 2 | 50 |
| Last Updated | 2467d ago | 53d ago | 20d ago |
| Age | 9y 1m | 1m | 6y 3m |
Health Breakdown
boringauth
Maintenance
6
Quality
15
Community
5
Popularity
7
Documentation
11
roka-totp
Maintenance
11
Quality
14
Community
6
Popularity
2
Documentation
15
totp-rs
Maintenance
18
Quality
15
Community
15
Popularity
8
Documentation
12
Technical Details
| boringauth | roka-totp | totp-rs | |
|---|---|---|---|
| Version | 0.9.0 | 0.1.0 | 5.7.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | GPL-2.0 | Apache-2.0 OR MIT | MIT |
| Dependencies | 6 | 1 | 11 |
| Crate Size | 20KB | 22KB | 28KB |
| Features | 1 | 0 | 6 |
| Yanked % | 0.0% | 0.0% | 48.0% |
| Edition | — | 2024 | 2021 |
| MSRV | — | 1.85 | 1.66 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •totp-rs leads with a health score of 68/100, but none of the options score above 80.
- •totp-rs is depended on by 1.5K crates — strongest ecosystem trust.
- •⚠ boringauth has not been updated in over a year.
- •boringauth, roka-totp are pre-1.0 — API may change.