Decision Workspace
fslock-guard vs fs-mistrust vs fd-lock
Side-by-side comparison of Rust crates
67
fslock-guard
growingv0.6.0
Wrapper around a lockfile with unlock-on-drop semantics
71
fs-mistrust
growingv0.14.0
Ensure that files can only be read or written by trusted users
65
fd-lock
growingv4.0.4
Advisory cross-platform lock on a file using a file descriptor to it.
Core Metrics
| fslock-guard | fs-mistrust | fd-lock | |
|---|---|---|---|
| Health Score | 67 | 71 | 65 |
| Total Downloads | 85.1K | 413.6K | 39.1M |
| 30d Downloads | 4.7K | 36.5K | 3.3M |
| Dependents | 41 | 425 | 1.2K |
| Releases | 17 | 39 | 23 |
| Last Updated | 24d ago | 24d ago | 382d ago |
| Age | 2y 1m | 3y 10m | 6y 9m |
Health Breakdown
fslock-guard
Maintenance
20
Quality
16
Community
13
Popularity
6
Documentation
12
fs-mistrust
Maintenance
21
Quality
15
Community
16
Popularity
7
Documentation
12
fd-lock
Maintenance
7
Quality
19
Community
18
Popularity
8
Documentation
13
Technical Details
| fslock-guard | fs-mistrust | fd-lock | |
|---|---|---|---|
| Version | 0.6.0 | 0.14.0 | 4.0.4 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 11 | 4 |
| Crate Size | 10KB | 52KB | 16KB |
| Features | 2 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.89 | 1.89 | — |
| Owners | 4 | 4 | 3 |
Links
Quick Verdict
- •fs-mistrust leads with a health score of 71/100, but none of the options score above 80.
- •fd-lock has the most downloads (39.1M), suggesting wider adoption.
- •fd-lock is depended on by 1.2K crates — strongest ecosystem trust.
- •⚠ fd-lock has not been updated in over a year.
- •fslock-guard, fs-mistrust are pre-1.0 — API may change.