Decision Workspace
async-fd-lock vs fd-lock vs async-file-lock
Side-by-side comparison of Rust crates
46
async-fd-lock
growingv0.2.0
Advisory cross-platform file locks using file descriptors with async support by spawning blocking tasks.
66
fd-lock
growingv4.0.4
Advisory cross-platform lock on a file using a file descriptor to it.
36
async-file-lock
growingv0.1.4
Asynchronous file lock that can auto lock and auto seek.
Core Metrics
| async-fd-lock | fd-lock | async-file-lock | |
|---|---|---|---|
| Health Score | 46 | 66 | 36 |
| Total Downloads | 343.9K | 52.8M | 11.6K |
| 30d Downloads | 39.1K | 2.7M | 0 |
| Dependents | 112 | 1.8K | 0 |
| Releases | 3 | 23 | 5 |
| Last Updated | 750d ago | 490d ago | 1828d ago |
| Age | 2y | 7y | 5y 5m |
Health Breakdown
async-fd-lock
Maintenance
5
Quality
9
Community
12
Popularity
7
Documentation
13
fd-lock
Maintenance
7
Quality
19
Community
19
Popularity
8
Documentation
13
async-file-lock
Maintenance
3
Quality
14
Community
5
Popularity
5
Documentation
9
Technical Details
| async-fd-lock | fd-lock | async-file-lock | |
|---|---|---|---|
| Version | 0.2.0 | 4.0.4 | 0.1.4 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 12 | 4 | 6 |
| Crate Size | 13KB | 16KB | 6KB |
| Features | 2 | 0 | 0 |
| Yanked % | 33.3% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 3 | 1 |
Links
Quick Verdict
- •fd-lock leads with a health score of 66/100, but none of the options score above 80.
- •fd-lock is depended on by 1.8K crates — strongest ecosystem trust.
- •⚠ async-fd-lock, fd-lock, async-file-lock have not been updated in over a year.
- •async-fd-lock, async-file-lock are pre-1.0 — API may change.