Decision Workspace
microsalt vs tweetnacly vs libsodium-sys-stable
Side-by-side comparison of Rust crates
29
microsalt
growingv0.2.21
easy to use rust crypto lib (tweetnacl & FFI bindings to it)
38
tweetnacly
growingv0.2.0
Bindings for TweetNaCl, with a couple of additions: flexible SHA2-512 hash, detached mode.
66
libsodium-sys-stable
stablev1.24.0
Maintained FFI bindings for libsodium stable
Core Metrics
| microsalt | tweetnacly | libsodium-sys-stable | |
|---|---|---|---|
| Health Score | 29 | 38 | 66 |
| Total Downloads | 27.7K | 3.2K | 1.2M |
| 30d Downloads | 0 | 0 | 126.7K |
| Dependents | 0 | 2 | 241 |
| Releases | 15 | 2 | 70 |
| Last Updated | 3378d ago | 752d ago | 46d ago |
| Age | 9y 7m | 3y 2m | 6y 8m |
Health Breakdown
microsalt
Maintenance
4
Quality
12
Community
3
Popularity
5
Documentation
5
tweetnacly
Maintenance
4
Quality
16
Community
4
Popularity
4
Documentation
10
libsodium-sys-stable
Maintenance
17
Quality
17
Community
12
Popularity
7
Documentation
13
Technical Details
| microsalt | tweetnacly | libsodium-sys-stable | |
|---|---|---|---|
| Version | 0.2.21 | 0.2.0 | 1.24.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 6 | 4 | 11 |
| Crate Size | 825KB | 17KB | 2.2MB |
| Features | 0 | 2 | 7 |
| Yanked % | 0.0% | 0.0% | 1.4% |
| Edition | — | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •libsodium-sys-stable leads with a health score of 66/100, but none of the options score above 80.
- •libsodium-sys-stable is depended on by 241 crates — strongest ecosystem trust.
- •⚠ microsalt, tweetnacly have not been updated in over a year.
- •microsalt, tweetnacly are pre-1.0 — API may change.