Decision Workspace
fslock-guard vs fs-mistrust vs fd-lock
Side-by-side comparison of Rust crates
70
fslock-guard
growingv0.9.0
Wrapper around a lockfile with unlock-on-drop semantics
72
fs-mistrust
growingv0.16.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 | 70 | 72 | 65 |
| Total Downloads | 548.3K | 1.2M | 67.4M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 61 | 530 | 2.4K |
| Releases | 22 | 44 | 23 |
| Last Updated | 8d ago | 8d ago | 578d ago |
| Age | 2y 8m | 4y 5m | 7y 3m |
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
fd-lock
Maintenance
6
Quality
19
Community
19
Popularity
8
Documentation
13
Technical Details
| fslock-guard | fs-mistrust | fd-lock | |
|---|---|---|---|
| Version | 0.9.0 | 0.16.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 | 5 | 13 | 4 |
| Crate Size | 11KB | 52KB | 16KB |
| Features | 2 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.92 | 1.92 | — |
| Owners | 4 | 4 | 3 |
Links
Quick Verdict
- •fs-mistrust leads with a health score of 72/100, but none of the options score above 80.
- •fd-lock has the most downloads (67.4M), suggesting wider adoption.
- •fd-lock is depended on by 2.4K 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.