Decision Workspace
roka-totp vs boringauth vs totp-rs
Side-by-side comparison of Rust crates
51
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
64
totp-rs
stablev5.7.1
RFC-compliant TOTP implementation with ease of use as a goal and additionnal QoL features.
Core Metrics
| roka-totp | boringauth | totp-rs | |
|---|---|---|---|
| Health Score | 51 | 44 | 64 |
| Total Downloads | 28 | 433.6K | 6.3M |
| 30d Downloads | 0 | 13.3K | 756.5K |
| Dependents | 0 | 6 | 1.3K |
| Releases | 2 | 8 | 49 |
| Last Updated | 4d ago | 2418d ago | 77d ago |
| Age | 4d | 8y 11m | 6y 1m |
Health Breakdown
roka-totp
Maintenance
14
Quality
14
Community
6
Popularity
2
Documentation
15
boringauth
Maintenance
6
Quality
15
Community
5
Popularity
7
Documentation
11
totp-rs
Maintenance
15
Quality
15
Community
14
Popularity
8
Documentation
12
Technical Details
| roka-totp | boringauth | totp-rs | |
|---|---|---|---|
| Version | 0.1.0 | 0.9.0 | 5.7.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | Apache-2.0 OR MIT | GPL-2.0 | MIT |
| Dependencies | 1 | 6 | 11 |
| Crate Size | 22KB | 20KB | 28KB |
| Features | 0 | 1 | 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.
- •roka-totp, boringauth are pre-1.0 — API may change.