Decision Workspace
file_locking vs filelock vs fs4
Side-by-side comparison of Rust crates
39
file_locking
growingv0.1.0
A lean file locking implementation for Unix and Windows
52
filelock
growingv0.5.0
Cross-platform file locking library for Rust
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
| file_locking | filelock | fs4 | |
|---|---|---|---|
| Health Score | 39 | 52 | 58 |
| Total Downloads | 1.0K | 7.3K | 36.1M |
| 30d Downloads | 4 | 75 | 3.4M |
| Dependents | 0 | 6 | 1.7K |
| Releases | 1 | 9 | 28 |
| Last Updated | 467d ago | 40d ago | 384d ago |
| Age | 1y 3m | 4y 6m | 4y 2m |
Health Breakdown
file_locking
Maintenance
2
Quality
15
Community
6
Popularity
4
Documentation
12
filelock
Maintenance
14
Quality
15
Community
8
Popularity
5
Documentation
10
fs4
Maintenance
8
Quality
12
Community
15
Popularity
8
Documentation
15
Technical Details
| file_locking | filelock | fs4 | |
|---|---|---|---|
| Version | 0.1.0 | 0.5.0 | 0.13.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 3 | 3 | 14 |
| Crate Size | 6KB | 7KB | 29KB |
| Features | 0 | 0 | 9 |
| Yanked % | 0.0% | 0.0% | 14.3% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | 1.65.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.
- •⚠ file_locking, fs4 have not been updated in over a year.