Decision Workspace
fd-lock vs filedesc vs async-fd-lock
Side-by-side comparison of Rust crates
65
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
44
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 | 65 | 51 | 44 |
| Total Downloads | 39.1M | 2.6M | 187.5K |
| 30d Downloads | 3.3M | 191.9K | 35.2K |
| Dependents | 1.2K | 58 | 96 |
| Releases | 23 | 10 | 3 |
| Last Updated | 382d ago | 919d ago | 642d ago |
| Age | 6y 9m | 5y 9m | 1y 9m |
Health Breakdown
fd-lock
Maintenance
7
Quality
19
Community
18
Popularity
8
Documentation
13
filedesc
Maintenance
4
Quality
15
Community
11
Popularity
8
Documentation
13
async-fd-lock
Maintenance
5
Quality
9
Community
11
Popularity
6
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 65/100, but none of the options score above 80.
- •fd-lock is depended on by 1.2K 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.