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)
64
libsodium-sys-stable
stablev1.23.2
Maintained FFI bindings for libsodium stable
Core Metrics
| tweetnacly | microsalt | libsodium-sys-stable | |
|---|---|---|---|
| Health Score | 38 | 29 | 64 |
| Total Downloads | 3.1K | 27.7K | 974.8K |
| 30d Downloads | 38 | 19 | 76.1K |
| Dependents | 2 | 0 | 235 |
| Releases | 2 | 15 | 68 |
| Last Updated | 693d ago | 3319d ago | 68d ago |
| Age | 3y | 9y 5m | 6y 6m |
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
15
Quality
17
Community
12
Popularity
7
Documentation
13
Technical Details
| tweetnacly | microsalt | libsodium-sys-stable | |
|---|---|---|---|
| Version | 0.2.0 | 0.2.21 | 1.23.2 |
| 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.1MB |
| Features | 2 | 0 | 7 |
| Yanked % | 0.0% | 0.0% | 1.5% |
| Edition | 2021 | — | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •libsodium-sys-stable leads with a health score of 64/100, but none of the options score above 80.
- •libsodium-sys-stable is depended on by 235 crates — strongest ecosystem trust.
- •⚠ tweetnacly, microsalt have not been updated in over a year.
- •tweetnacly, microsalt are pre-1.0 — API may change.