Decision Workspace
raii_flock vs fmutex vs fs4
Side-by-side comparison of Rust crates
34
raii_flock
growingv0.2.0
Little library implementing a wrapper over a file that's locked on creation and unlocked when it goes out of scope.
48
fmutex
growingv0.3.0
Cross-platform mutual exclusion across processes on a file or path
58
fs4
growingv0.13.1
No libc, pure Rust cross-platform file locks. Original fs2, now supports async and replace libc by rustix.
Core Metrics
| raii_flock | fmutex | fs4 | |
|---|---|---|---|
| Health Score | 34 | 48 | 58 |
| Total Downloads | 3.0K | 55.7K | 36.1M |
| 30d Downloads | 21 | 4.4K | 3.4M |
| Dependents | 0 | 71 | 1.7K |
| Releases | 2 | 4 | 28 |
| Last Updated | 1682d ago | 309d ago | 384d ago |
| Age | 5y 1m | 4y 1m | 4y 2m |
Health Breakdown
raii_flock
Maintenance
3
Quality
15
Community
3
Popularity
4
Documentation
9
fmutex
Maintenance
5
Quality
15
Community
11
Popularity
6
Documentation
11
fs4
Maintenance
8
Quality
12
Community
15
Popularity
8
Documentation
15
Technical Details
| raii_flock | fmutex | fs4 | |
|---|---|---|---|
| Version | 0.2.0 | 0.3.0 | 0.13.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Unlicense | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 3 | 14 |
| Crate Size | 2KB | 10KB | 29KB |
| Features | 0 | 0 | 9 |
| Yanked % | 0.0% | 0.0% | 14.3% |
| Edition | 2018 | 2018 | 2021 |
| MSRV | — | 1.66.0 | 1.75.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •fs4 leads with a health score of 58/100, but none of the options score above 80.
- •fs4 is depended on by 1.7K crates — strongest ecosystem trust.
- •⚠ raii_flock, fs4 have not been updated in over a year.