rustio rustio.net

file-locker vs fslock-guard vs fd-lock

Side-by-side comparison of Rust crates

Core Metrics

file-lockerfslock-guardfd-lock
Health Score546765
Total Downloads84.7K85.1K39.1M
30d Downloads5.4K4.7K3.3M
Dependents8411.2K
Releases91723
Last Updated161d ago24d ago382d ago
Age5y 8m2y 1m6y 9m

Health Breakdown

file-locker
Maintenance
10
Quality
20
Community
9
Popularity
6
Documentation
9
fslock-guard
Maintenance
20
Quality
16
Community
13
Popularity
6
Documentation
12
fd-lock
Maintenance
7
Quality
19
Community
18
Popularity
8
Documentation
13

Technical Details

file-lockerfslock-guardfd-lock
Version1.1.40.6.04.0.4
Stable (≥1.0)✓ Yes✗ No✓ Yes
LicenseMITMIT OR Apache-2.0MIT OR Apache-2.0
Dependencies144
Crate Size6KB10KB16KB
Features020
Yanked %0.0%0.0%0.0%
Edition201820242021
MSRV1.89
Owners143

Quick Verdict

  • fslock-guard leads with a health score of 67/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 is pre-1.0 — API may change.