Decision Workspace
totp_rfc6238 vs totp-rs vs totp-sos
Side-by-side comparison of Rust crates
38
totp_rfc6238
growingv0.6.1
library for generating Time-based One-time Password (TOTP) codes/tokens defined in RFC 6238
67
totp-rs
stablev5.7.1
RFC-compliant TOTP implementation with ease of use as a goal and additionnal 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 | 38 | 67 | 46 |
| Total Downloads | 17.7K | 4.8M | 3.3K |
| 30d Downloads | 79 | 761.1K | 13 |
| Dependents | 0 | 1.0K | 7 |
| Releases | 12 | 49 | 2 |
| Last Updated | 590d ago | 18d ago | 929d ago |
| Age | 4y 11m | 5y 11m | 3y 4m |
Health Breakdown
totp_rfc6238
Maintenance
4
Quality
10
Community
6
Popularity
5
Documentation
13
totp-rs
Maintenance
18
Quality
15
Community
14
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.6.1 | 5.7.1 | 3.1.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 8 | 11 | 10 |
| Crate Size | 19KB | 28KB | 11KB |
| Features | 4 | 6 | 3 |
| Yanked % | 25.0% | 49.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| 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.
- •⚠ totp_rfc6238, totp-sos have not been updated in over a year.
- •totp_rfc6238 is pre-1.0 — API may change.