Decision Workspace
lugnut vs rust-otp vs roka-totp
Side-by-side comparison of Rust crates
33
lugnut
growingv0.0.5
An OTP Generator for Rust
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.
47
roka-totp
experimentalv0.1.0
Zero-dependency TOTP / HOTP for Rust — RFC 4226 / 6238, std-only, no unsafe.
Core Metrics
| lugnut | rust-otp | roka-totp | |
|---|---|---|---|
| Health Score | 33 | 54 | 47 |
| Total Downloads | 6.6K | 33.3K | 47 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 1 | 0 |
| Releases | 5 | 3 | 2 |
| Last Updated | 1965d ago | 180d ago | 141d ago |
| Age | 5y 6m | 2y 9m | 4m |
Health Breakdown
lugnut
Maintenance
3
Quality
13
Community
3
Popularity
5
Documentation
9
rust-otp
Maintenance
9
Quality
21
Community
7
Popularity
5
Documentation
12
roka-totp
Maintenance
10
Quality
14
Community
6
Popularity
2
Documentation
15
Technical Details
| lugnut | rust-otp | roka-totp | |
|---|---|---|---|
| Version | 0.0.5 | 3.0.0 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | Apache-2.0 OR MIT |
| Dependencies | 8 | 4 | 1 |
| Crate Size | 6KB | 10KB | 22KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2024 |
| MSRV | — | 1.70 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •rust-otp leads with a health score of 54/100, but none of the options score above 80.
- •⚠ lugnut has not been updated in over a year.
- •lugnut, roka-totp are pre-1.0 — API may change.