Decision Workspace
lock_cell vs lock_api vs borrow_mutex
Side-by-side comparison of Rust crates
43
lock_cell
growingv0.6.0
A custom locking cell type written in Rust
61
lock_api
growingv0.4.14
Wrappers to create fully-featured Mutex and RwLock types. Compatible with no_std.
44
borrow_mutex
growingv0.1.1
Async Rust Mutex which does not require wrapping the target structure
Core Metrics
| lock_cell | lock_api | borrow_mutex | |
|---|---|---|---|
| Health Score | 43 | 61 | 44 |
| Total Downloads | 8.8K | 624.0M | 2.6K |
| 30d Downloads | 10 | 43.7M | 5 |
| Dependents | 0 | 1.2K | 0 |
| Releases | 7 | 27 | 2 |
| Last Updated | 993d ago | 175d ago | 585d ago |
| Age | 2y 9m | 7y 9m | 1y 9m |
Health Breakdown
lock_cell
Maintenance
7
Quality
18
Community
3
Popularity
5
Documentation
10
lock_api
Maintenance
11
Quality
14
Community
16
Popularity
8
Documentation
12
borrow_mutex
Maintenance
5
Quality
17
Community
6
Popularity
4
Documentation
12
Technical Details
| lock_cell | lock_api | borrow_mutex | |
|---|---|---|---|
| Version | 0.6.0 | 0.4.14 | 0.1.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | 0BSD | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 3 | 3 |
| Crate Size | 7KB | 29KB | 17KB |
| Features | 4 | 4 | 2 |
| Yanked % | 0.0% | 7.4% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.71.0 | 1.65 |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •lock_api leads with a health score of 61/100, but none of the options score above 80.
- •lock_api is depended on by 1.2K crates — strongest ecosystem trust.
- •⚠ lock_cell, borrow_mutex have not been updated in over a year.