Decision Workspace
sodium-alloc vs mmap-allocator vs hard
Side-by-side comparison of Rust crates
37
sodium-alloc
growingv0.1.1
Allocator type that allocates memory using Sodium's secure memory utilities
39
mmap-allocator
growingv0.3.1
struct implementing trait std::alloc::GlobalAlloc for unix
39
hard
growingv0.5.0
Security hardened buffers for Rust based on libsodium
Core Metrics
| sodium-alloc | mmap-allocator | hard | |
|---|---|---|---|
| Health Score | 37 | 39 | 39 |
| Total Downloads | 2.9K | 29.3K | 11.5K |
| 30d Downloads | 5 | 14.4K | 28 |
| Dependents | 0 | 0 | 0 |
| Releases | 2 | 4 | 9 |
| Last Updated | 1579d ago | 1869d ago | 1540d ago |
| Age | 4y 9m | 5y 8m | 4y 9m |
Health Breakdown
sodium-alloc
Maintenance
3
Quality
15
Community
6
Popularity
4
Documentation
9
mmap-allocator
Maintenance
4
Quality
13
Community
5
Popularity
5
Documentation
12
hard
Maintenance
4
Quality
15
Community
6
Popularity
5
Documentation
9
Technical Details
| sodium-alloc | mmap-allocator | hard | |
|---|---|---|---|
| Version | 0.1.1 | 0.3.1 | 0.5.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | Apache-2.0 OR LGPL-3.0-or-later | MIT OR Apache-2.0 |
| Dependencies | 1 | 1 | 4 |
| Crate Size | 9KB | 1.7MB | 16KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •mmap-allocator leads with a health score of 39/100, but none of the options score above 80.
- •⚠ sodium-alloc, mmap-allocator, hard have not been updated in over a year.