Decision Workspace
libhydrogen-sys vs libsodium-rs vs enprot-ffi
Side-by-side comparison of Rust crates
51
libhydrogen-sys
growingv0.9.5
Low-level FFI bindings to libhydrogen for encryption, signatures, hashing, key exchange, and random number generation
64
libsodium-rs
growingv0.2.5
Rust bindings to libsodium for authenticated encryption, signatures, password hashing, key exchange, and streaming encryption
52
enprot-ffi
experimentalv0.5.76
C FFI for enprot — shared library (libenprot) for Python, Node.js, Go, Ruby bindings
Core Metrics
| libhydrogen-sys | libsodium-rs | enprot-ffi | |
|---|---|---|---|
| Health Score | 51 | 64 | 52 |
| Total Downloads | 43.7K | 173.0K | 1.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 13 | 61 | 0 |
| Releases | 21 | 8 | 66 |
| Last Updated | 15d ago | 15d ago | 37d ago |
| Age | 8y 9m | 1y 6m | 2m |
Health Breakdown
libhydrogen-sys
Maintenance
15
Quality
15
Community
6
Popularity
6
Documentation
9
libsodium-rs
Maintenance
18
Quality
14
Community
11
Popularity
6
Documentation
15
enprot-ffi
Maintenance
14
Quality
16
Community
6
Popularity
4
Documentation
12
Technical Details
| libhydrogen-sys | libsodium-rs | enprot-ffi | |
|---|---|---|---|
| Version | 0.9.5 | 0.2.5 | 0.5.76 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | ISC | MIT | BSD-2-Clause |
| Dependencies | 2 | 8 | 2 |
| Crate Size | 49KB | 178KB | 22KB |
| Features | 0 | 4 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2024 |
| MSRV | — | 1.88.0 | 1.88 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •libsodium-rs leads with a health score of 64/100, but none of the options score above 80.