Decision Workspace
totp-sos vs totp-rs vs totp_rfc6238
Side-by-side comparison of Rust crates
46
totp-sos
growingv3.1.1
RFC-compliant TOTP implementation with minimal dependencies.
68
totp-rs
stablev5.7.2
RFC-compliant TOTP implementation with ease of use as a goal and additionnal QoL features.
46
totp_rfc6238
growingv0.7.0
library for generating Time-based One-time Password (TOTP) codes/tokens defined in RFC 6238
Core Metrics
| totp-sos | totp-rs | totp_rfc6238 | |
|---|---|---|---|
| Health Score | 46 | 68 | 46 |
| Total Downloads | 3.4K | 8.1M | 18.1K |
| 30d Downloads | 0 | 568.8K | 0 |
| Dependents | 7 | 1.5K | 0 |
| Releases | 2 | 50 | 13 |
| Last Updated | 1037d ago | 20d ago | 101d ago |
| Age | 3y 8m | 6y 3m | 5y 2m |
Health Breakdown
totp-sos
Maintenance
4
Quality
20
Community
8
Popularity
4
Documentation
10
totp-rs
Maintenance
18
Quality
15
Community
15
Popularity
8
Documentation
12
totp_rfc6238
Maintenance
11
Quality
11
Community
6
Popularity
5
Documentation
13
Technical Details
| totp-sos | totp-rs | totp_rfc6238 | |
|---|---|---|---|
| Version | 3.1.1 | 5.7.2 | 0.7.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 10 | 11 | 8 |
| Crate Size | 11KB | 28KB | 24KB |
| Features | 3 | 6 | 5 |
| Yanked % | 0.0% | 48.0% | 23.1% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | 1.66 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •totp-rs leads with a health score of 68/100, but none of the options score above 80.
- •totp-rs is depended on by 1.5K crates — strongest ecosystem trust.
- •⚠ totp-sos has not been updated in over a year.
- •totp_rfc6238 is pre-1.0 — API may change.