Decision Workspace
libsodium-rs vs nacrypt vs libsodium-sys-stable
Side-by-side comparison of Rust crates
58
libsodium-rs
experimentalv0.2.2
A comprehensive, idiomatic Rust wrapper for libsodium, providing a safe and ergonomic API for cryptographic operations
44
nacrypt
experimentalv1.2.7
A secure and easy-to-use file encryption utility
64
libsodium-sys-stable
stablev1.23.2
Maintained FFI bindings for libsodium stable
Core Metrics
| libsodium-rs | nacrypt | libsodium-sys-stable | |
|---|---|---|---|
| Health Score | 58 | 44 | 64 |
| Total Downloads | 72.8K | 17 | 974.8K |
| 30d Downloads | 19.7K | 17 | 76.1K |
| Dependents | 15 | 0 | 235 |
| Releases | 5 | 1 | 68 |
| Last Updated | 80d ago | 14d ago | 68d ago |
| Age | 11m | 14d | 6y 6m |
Health Breakdown
libsodium-rs
Maintenance
15
Quality
13
Community
9
Popularity
6
Documentation
15
nacrypt
Maintenance
12
Quality
15
Community
6
Popularity
1
Documentation
10
libsodium-sys-stable
Maintenance
15
Quality
17
Community
12
Popularity
7
Documentation
13
Technical Details
| libsodium-rs | nacrypt | libsodium-sys-stable | |
|---|---|---|---|
| Version | 0.2.2 | 1.2.7 | 1.23.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 8 | 5 | 11 |
| Crate Size | 176KB | 21KB | 2.1MB |
| Features | 4 | 0 | 7 |
| Yanked % | 0.0% | 0.0% | 1.5% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | 1.60.0 | — | — |
| 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.
- •libsodium-rs is pre-1.0 — API may change.