Decision Workspace
spinlocks vs filelock vs page-lock
Side-by-side comparison of Rust crates
34
spinlocks
growingv0.0.1
Lock primitive based on spinning protecting shared data for concurrent access
52
filelock
growingv0.5.0
Cross-platform file locking library for Rust
43
page-lock
growingv3.1.0
A library for reading and writing data from bytes array
Core Metrics
| spinlocks | filelock | page-lock | |
|---|---|---|---|
| Health Score | 34 | 52 | 43 |
| Total Downloads | 3.1K | 7.3K | 11.2K |
| 30d Downloads | 4 | 75 | 13 |
| Dependents | 0 | 6 | 14 |
| Releases | 1 | 9 | 9 |
| Last Updated | 3759d ago | 40d ago | 1503d ago |
| Age | 11y | 4y 6m | 4y 2m |
Health Breakdown
spinlocks
Maintenance
1
Quality
15
Community
3
Popularity
4
Documentation
11
filelock
Maintenance
14
Quality
15
Community
8
Popularity
5
Documentation
10
page-lock
Maintenance
4
Quality
19
Community
6
Popularity
5
Documentation
9
Technical Details
| spinlocks | filelock | page-lock | |
|---|---|---|---|
| Version | 0.0.1 | 0.5.0 | 3.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 1 | 3 | 5 |
| Crate Size | 6KB | 7KB | 6KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 2024 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •filelock leads with a health score of 52/100, but none of the options score above 80.
- •page-lock has the most downloads (11.2K), suggesting wider adoption.
- •⚠ spinlocks, page-lock have not been updated in over a year.
- •spinlocks, filelock are pre-1.0 — API may change.