Decision Workspace
libr2fa vs totp-rs vs totp-lite
Side-by-side comparison of Rust crates
41
libr2fa
growingv0.1.3
rust implementation for HTOP, TOTP and steam guard tow-factor-authentication
66
totp-rs
stablev6.0.0
RFC-compliant TOTP implementation with ease of use as a goal and additional QoL features.
49
totp-lite
growingv2.0.1
A simple, correct TOTP library.
Core Metrics
| libr2fa | totp-rs | totp-lite | |
|---|---|---|---|
| Health Score | 41 | 66 | 49 |
| Total Downloads | 5.1K | 11.1M | 1.9M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 1.9K | 1.1K |
| Releases | 4 | 51 | 7 |
| Last Updated | 1222d ago | 64d ago | 1076d ago |
| Age | 3y 6m | 6y 6m | 6y 1m |
Health Breakdown
libr2fa
Maintenance
4
Quality
15
Community
5
Popularity
4
Documentation
13
totp-rs
Maintenance
15
Quality
16
Community
15
Popularity
8
Documentation
12
totp-lite
Maintenance
5
Quality
15
Community
13
Popularity
7
Documentation
9
Technical Details
| libr2fa | totp-rs | totp-lite | |
|---|---|---|---|
| Version | 0.1.3 | 6.0.0 | 2.0.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 18 | 12 | 6 |
| Crate Size | 21KB | 50KB | 9KB |
| Features | 6 | 10 | 0 |
| Yanked % | 0.0% | 47.1% | 14.3% |
| Edition | 2021 | 2024 | 2018 |
| 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.
- •⚠ libr2fa, totp-lite have not been updated in over a year.
- •libr2fa is pre-1.0 — API may change.