Decision Workspace
totp_rfc6238 vs totp-rs vs totp-sos
Side-by-side comparison of Rust crates
43
totp_rfc6238
growingv0.7.0
library for generating Time-based One-time Password (TOTP) codes/tokens defined in RFC 6238
66
totp-rs
stablev6.0.0
RFC-compliant TOTP implementation with ease of use as a goal and additional QoL features.
46
totp-sos
growingv3.1.1
RFC-compliant TOTP implementation with minimal dependencies.
Core Metrics
| totp_rfc6238 | totp-rs | totp-sos | |
|---|---|---|---|
| Health Score | 43 | 66 | 46 |
| Total Downloads | 18.4K | 11.1M | 3.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 1.9K | 7 |
| Releases | 13 | 51 | 2 |
| Last Updated | 189d ago | 64d ago | 1125d ago |
| Age | 5y 5m | 6y 6m | 3y 11m |
Health Breakdown
totp_rfc6238
Maintenance
8
Quality
11
Community
6
Popularity
5
Documentation
13
totp-rs
Maintenance
15
Quality
16
Community
15
Popularity
8
Documentation
12
totp-sos
Maintenance
4
Quality
20
Community
8
Popularity
4
Documentation
10
Technical Details
| totp_rfc6238 | totp-rs | totp-sos | |
|---|---|---|---|
| Version | 0.7.0 | 6.0.0 | 3.1.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 8 | 12 | 10 |
| Crate Size | 24KB | 50KB | 11KB |
| Features | 5 | 10 | 3 |
| Yanked % | 23.1% | 47.1% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| 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.
- •⚠ totp-sos has not been updated in over a year.
- •totp_rfc6238 is pre-1.0 — API may change.