Decision Workspace
totp_embed vs totp-rs vs rust-otp
Side-by-side comparison of Rust crates
37
totp_embed
growingv1.0.5
A fork of totp-lite for embedded environment.
66
totp-rs
stablev6.0.0
RFC-compliant TOTP implementation with ease of use as a goal and additional QoL features.
54
rust-otp
growingv3.0.0
A modern Rust library for performing the HMAC-based One-Time Password (HOTP) and Time-based One-Time Password (TOTP) algorithms with async support.
Core Metrics
| totp_embed | totp-rs | rust-otp | |
|---|---|---|---|
| Health Score | 37 | 66 | 54 |
| Total Downloads | 4.0K | 11.1M | 33.3K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 1.9K | 1 |
| Releases | 3 | 51 | 3 |
| Last Updated | 1606d ago | 64d ago | 180d ago |
| Age | 4y 4m | 6y 6m | 2y 9m |
Health Breakdown
totp_embed
Maintenance
4
Quality
14
Community
5
Popularity
4
Documentation
10
totp-rs
Maintenance
15
Quality
16
Community
15
Popularity
8
Documentation
12
rust-otp
Maintenance
9
Quality
21
Community
7
Popularity
5
Documentation
12
Technical Details
| totp_embed | totp-rs | rust-otp | |
|---|---|---|---|
| Version | 1.0.5 | 6.0.0 | 3.0.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 6 | 12 | 4 |
| Crate Size | 8KB | 50KB | 10KB |
| Features | 1 | 10 | 2 |
| Yanked % | 66.7% | 47.1% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.88 | 1.70 |
| 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_embed has not been updated in over a year.