Decision Workspace
lock_api vs lock_api-napi vs async-lock
Side-by-side comparison of Rust crates
59
lock_api
growingv0.4.14
Wrappers to create fully-featured Mutex and RwLock types. Compatible with no_std.
50
lock_api-napi
experimentalv0.4.15
Wrappers to create fully-featured Mutex and RwLock types. Compatible with no_std. Fork of lock_api used by parking_lot-napi.
68
async-lock
growingv3.4.2
Async synchronization primitives
Core Metrics
| lock_api | lock_api-napi | async-lock | |
|---|---|---|---|
| Health Score | 59 | 50 | 68 |
| Total Downloads | 1.1B | 36 | 312.6M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1.5K | 2 | 4.8K |
| Releases | 27 | 2 | 32 |
| Last Updated | 371d ago | 17d ago | 292d ago |
| Age | 8y 4m | 17d | 7y 4m |
Health Breakdown
lock_api
Maintenance
8
Quality
14
Community
17
Popularity
8
Documentation
12
lock_api-napi
Maintenance
13
Quality
16
Community
7
Popularity
2
Documentation
12
async-lock
Maintenance
8
Quality
20
Community
20
Popularity
8
Documentation
12
Technical Details
| lock_api | lock_api-napi | async-lock | |
|---|---|---|---|
| Version | 0.4.14 | 0.4.15 | 3.4.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 OR MIT |
| Dependencies | 3 | 3 | 9 |
| Crate Size | 29KB | 32KB | 40KB |
| Features | 4 | 4 | 3 |
| Yanked % | 7.4% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.71.0 | 1.71.0 | 1.85 |
| Owners | 2 | 1 | 2 (team) |
Links
Quick Verdict
- •async-lock leads with a health score of 68/100, but none of the options score above 80.
- •lock_api has the most downloads (1.1B), suggesting wider adoption.
- •async-lock is depended on by 4.8K crates — strongest ecosystem trust.
- •⚠ lock_api has not been updated in over a year.
- •lock_api, lock_api-napi are pre-1.0 — API may change.