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