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
51
roka-totp
experimentalv0.1.0
Zero-dependency TOTP / HOTP for Rust — RFC 4226 / 6238, std-only, no unsafe.
64
totp-rs
stablev5.7.1
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 | 51 | 64 |
| Total Downloads | 433.6K | 28 | 6.3M |
| 30d Downloads | 13.3K | 0 | 756.5K |
| Dependents | 6 | 0 | 1.3K |
| Releases | 8 | 2 | 49 |
| Last Updated | 2418d ago | 4d ago | 77d ago |
| Age | 8y 11m | 4d | 6y 1m |
Health Breakdown
boringauth
Maintenance
6
Quality
15
Community
5
Popularity
7
Documentation
11
roka-totp
Maintenance
14
Quality
14
Community
6
Popularity
2
Documentation
15
totp-rs
Maintenance
15
Quality
15
Community
14
Popularity
8
Documentation
12
Technical Details
| boringauth | roka-totp | totp-rs | |
|---|---|---|---|
| Version | 0.9.0 | 0.1.0 | 5.7.1 |
| 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% | 49.0% |
| Edition | — | 2024 | 2021 |
| MSRV | — | 1.85 | 1.66 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •totp-rs leads with a health score of 64/100, but none of the options score above 80.
- •totp-rs is depended on by 1.3K crates — strongest ecosystem trust.
- •⚠ boringauth has not been updated in over a year.
- •boringauth, roka-totp are pre-1.0 — API may change.