Decision Workspace
fd-lock vs filedesc vs async-fd-lock
Side-by-side comparison of Rust crates
66
fd-lock
growingv4.0.4
Advisory cross-platform lock on a file using a file descriptor to it.
51
filedesc
growingv0.6.3
thin wrapper around raw file descriptors
46
async-fd-lock
growingv0.2.0
Advisory cross-platform file locks using file descriptors with async support by spawning blocking tasks.
Core Metrics
| fd-lock | filedesc | async-fd-lock | |
|---|---|---|---|
| Health Score | 66 | 51 | 46 |
| Total Downloads | 52.8M | 3.6M | 343.9K |
| 30d Downloads | 2.7M | 260.8K | 39.1K |
| Dependents | 1.8K | 60 | 112 |
| Releases | 23 | 10 | 3 |
| Last Updated | 490d ago | 1027d ago | 750d ago |
| Age | 7y | 6y | 2y |
Health Breakdown
fd-lock
Maintenance
7
Quality
19
Community
19
Popularity
8
Documentation
13
filedesc
Maintenance
4
Quality
15
Community
11
Popularity
8
Documentation
13
async-fd-lock
Maintenance
5
Quality
9
Community
12
Popularity
7
Documentation
13
Technical Details
| fd-lock | filedesc | async-fd-lock | |
|---|---|---|---|
| Version | 4.0.4 | 0.6.3 | 0.2.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | BSD-2-Clause | MIT OR Apache-2.0 |
| Dependencies | 4 | 2 | 12 |
| Crate Size | 16KB | 5KB | 13KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 33.3% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 3 | 1 | 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.
- •⚠ fd-lock, filedesc, async-fd-lock have not been updated in over a year.
- •filedesc, async-fd-lock are pre-1.0 — API may change.