Decision Workspace
async-fd-lock vs fd-lock vs async-file-lock
Side-by-side comparison of Rust crates
44
async-fd-lock
growingv0.2.0
Advisory cross-platform file locks using file descriptors with async support by spawning blocking tasks.
65
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 | 44 | 65 | 36 |
| Total Downloads | 187.5K | 39.1M | 11.6K |
| 30d Downloads | 35.2K | 3.3M | 12 |
| Dependents | 96 | 1.2K | 0 |
| Releases | 3 | 23 | 5 |
| Last Updated | 642d ago | 382d ago | 1720d ago |
| Age | 1y 9m | 6y 9m | 5y 1m |
Health Breakdown
async-fd-lock
Maintenance
5
Quality
9
Community
11
Popularity
6
Documentation
13
fd-lock
Maintenance
7
Quality
19
Community
18
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 65/100, but none of the options score above 80.
- •fd-lock is depended on by 1.2K 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.