Decision Workspace
authnz-totp vs totp-rs vs totp_rfc6238
Side-by-side comparison of Rust crates
40
authnz-totp
growingv5.6.0
RFC-compliant TOTP implementation with ease of use as a goal and additionnal QoL features. Edited for Authnz
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
| authnz-totp | totp-rs | totp_rfc6238 | |
|---|---|---|---|
| Health Score | 40 | 68 | 46 |
| Total Downloads | 1.0K | 8.1M | 18.1K |
| 30d Downloads | 0 | 568.8K | 0 |
| Dependents | 2 | 1.5K | 0 |
| Releases | 1 | 50 | 13 |
| Last Updated | 357d ago | 20d ago | 101d ago |
| Age | 11m | 6y 3m | 5y 2m |
Health Breakdown
authnz-totp
Maintenance
3
Quality
19
Community
7
Popularity
4
Documentation
7
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
| authnz-totp | totp-rs | totp_rfc6238 | |
|---|---|---|---|
| Version | 5.6.0 | 5.7.2 | 0.7.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 11 | 11 | 8 |
| Crate Size | 26KB | 28KB | 24KB |
| Features | 6 | 6 | 5 |
| Yanked % | 0.0% | 48.0% | 23.1% |
| Edition | 2024 | 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_rfc6238 is pre-1.0 — API may change.