Decision Workspace
lock_api vs async-lock vs async-rwlock
Side-by-side comparison of Rust crates
60
lock_api
growingv0.4.14
Wrappers to create fully-featured Mutex and RwLock types. Compatible with no_std.
70
async-lock
growingv3.4.2
Async synchronization primitives
61
async-rwlock
growingv1.3.1
Async reader-writer lock
Core Metrics
| lock_api | async-lock | async-rwlock | |
|---|---|---|---|
| Health Score | 60 | 70 | 61 |
| Total Downloads | 829.2M | 245.3M | 2.9M |
| 30d Downloads | 38.2M | 10.1M | 13.0K |
| Dependents | 1.4K | 4.0K | 227 |
| Releases | 27 | 32 | 8 |
| Last Updated | 283d ago | 204d ago | 468d ago |
| Age | 8y 1m | 7y 1m | 7y 1m |
Health Breakdown
lock_api
Maintenance
9
Quality
14
Community
17
Popularity
8
Documentation
12
async-lock
Maintenance
10
Quality
20
Community
20
Popularity
8
Documentation
12
async-rwlock
Maintenance
5
Quality
19
Community
17
Popularity
8
Documentation
12
Technical Details
| lock_api | async-lock | async-rwlock | |
|---|---|---|---|
| Version | 0.4.14 | 3.4.2 | 1.3.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | Apache-2.0 OR MIT | Apache-2.0 OR MIT |
| Dependencies | 3 | 9 | 5 |
| Crate Size | 29KB | 40KB | 7KB |
| Features | 4 | 3 | 0 |
| Yanked % | 7.4% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | 1.71.0 | 1.85 | — |
| Owners | 2 | 2 (team) | 2 (team) |
Links
Quick Verdict
- •async-lock leads with a health score of 70/100, but none of the options score above 80.
- •lock_api has the most downloads (829.2M), suggesting wider adoption.
- •async-lock is depended on by 4.0K crates — strongest ecosystem trust.
- •⚠ async-rwlock has not been updated in over a year.
- •lock_api is pre-1.0 — API may change.