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