Decision Workspace
fslock-guard vs fs-mistrust vs fs4
Side-by-side comparison of Rust crates
70
fslock-guard
growingv0.8.0
Wrapper around a lockfile with unlock-on-drop semantics
72
fs-mistrust
growingv0.15.0
Ensure that files can only be read or written by trusted users
67
fs4
stablev1.1.0
No libc, pure Rust cross-platform file locks. Original fs2, now supports async and replace libc by rustix.
Core Metrics
| fslock-guard | fs-mistrust | fs4 | |
|---|---|---|---|
| Health Score | 70 | 72 | 67 |
| Total Downloads | 321.6K | 831.2K | 52.9M |
| 30d Downloads | 14.2K | 57.9K | 3.7M |
| Dependents | 52 | 477 | 3.5K |
| Releases | 19 | 42 | 32 |
| Last Updated | 13d ago | 13d ago | 76d ago |
| Age | 2y 5m | 4y 2m | 4y 6m |
Health Breakdown
fslock-guard
Maintenance
21
Quality
16
Community
14
Popularity
7
Documentation
12
fs-mistrust
Maintenance
22
Quality
15
Community
16
Popularity
7
Documentation
12
fs4
Maintenance
15
Quality
14
Community
15
Popularity
8
Documentation
15
Technical Details
| fslock-guard | fs-mistrust | fs4 | |
|---|---|---|---|
| Version | 0.8.0 | 0.15.0 | 1.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 12 | 13 |
| Crate Size | 12KB | 53KB | 45KB |
| Features | 2 | 3 | 9 |
| Yanked % | 0.0% | 0.0% | 12.5% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.91 | 1.91 | 1.75.0 |
| Owners | 4 | 4 | 1 |
Links
Quick Verdict
- •fs-mistrust leads with a health score of 72/100, but none of the options score above 80.
- •fs4 has the most downloads (52.9M), suggesting wider adoption.
- •fs4 is depended on by 3.5K crates — strongest ecosystem trust.
- •fslock-guard, fs-mistrust are pre-1.0 — API may change.