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
67
totp-rs
stablev5.7.1
RFC-compliant TOTP implementation with ease of use as a goal and additionnal QoL features.
48
totp-lite
growingv2.0.1
A simple, correct TOTP library.
Core Metrics
| libr2fa | totp-rs | totp-lite | |
|---|---|---|---|
| Health Score | 41 | 67 | 48 |
| Total Downloads | 5.1K | 4.8M | 948.6K |
| 30d Downloads | 6 | 761.1K | 101.6K |
| Dependents | 0 | 1.0K | 319 |
| Releases | 4 | 49 | 7 |
| Last Updated | 1026d ago | 18d ago | 880d ago |
| Age | 2y 11m | 5y 11m | 5y 7m |
Health Breakdown
libr2fa
Maintenance
4
Quality
15
Community
5
Popularity
4
Documentation
13
totp-rs
Maintenance
18
Quality
15
Community
14
Popularity
8
Documentation
12
totp-lite
Maintenance
5
Quality
15
Community
12
Popularity
7
Documentation
9
Technical Details
| libr2fa | totp-rs | totp-lite | |
|---|---|---|---|
| Version | 0.1.3 | 5.7.1 | 2.0.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 18 | 11 | 6 |
| Crate Size | 21KB | 28KB | 9KB |
| Features | 6 | 6 | 0 |
| Yanked % | 0.0% | 49.0% | 14.3% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | 1.66 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •totp-rs leads with a health score of 67/100, but none of the options score above 80.
- •totp-rs is depended on by 1.0K crates — strongest ecosystem trust.
- •⚠ libr2fa, totp-lite have not been updated in over a year.
- •libr2fa is pre-1.0 — API may change.