Decision Workspace
memfile vs fd-lock vs gen-memory
Side-by-side comparison of Rust crates
51
memfile
growingv0.3.2
memory backed files using memfd_create with file sealing support
66
fd-lock
growingv4.0.4
Advisory cross-platform lock on a file using a file descriptor to it.
55
gen-memory
experimentalv1.0.3
In memory file creation library
Core Metrics
| memfile | fd-lock | gen-memory | |
|---|---|---|---|
| Health Score | 51 | 66 | 55 |
| Total Downloads | 348.6K | 45.9M | 173 |
| 30d Downloads | 38.5K | 3.7M | 0 |
| Dependents | 144 | 1.5K | 2 |
| Releases | 9 | 23 | 4 |
| Last Updated | 889d ago | 441d ago | 110d ago |
| Age | 5y 3m | 6y 11m | 3m |
Health Breakdown
memfile
Maintenance
4
Quality
15
Community
12
Popularity
7
Documentation
13
fd-lock
Maintenance
7
Quality
19
Community
19
Popularity
8
Documentation
13
gen-memory
Maintenance
18
Quality
18
Community
6
Popularity
3
Documentation
10
Technical Details
| memfile | fd-lock | gen-memory | |
|---|---|---|---|
| Version | 0.3.2 | 4.0.4 | 1.0.3 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | BSD-2-Clause | MIT OR Apache-2.0 | MIT |
| Dependencies | 2 | 4 | 3 |
| Crate Size | 11KB | 16KB | 7KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 3 | 1 |
Links
Quick Verdict
- •fd-lock leads with a health score of 66/100, but none of the options score above 80.
- •fd-lock is depended on by 1.5K crates — strongest ecosystem trust.
- •⚠ memfile, fd-lock have not been updated in over a year.
- •memfile is pre-1.0 — API may change.