Decision Workspace
lock_cell vs lock_api vs surelock
Side-by-side comparison of Rust crates
43
lock_cell
growingv0.6.0
A custom locking cell type written in Rust
60
lock_api
growingv0.4.14
Wrappers to create fully-featured Mutex and RwLock types. Compatible with no_std.
46
surelock
experimentalv0.1.0
Deadlock-free locks for Rust with compile time guarantees, incremental locks, and atomic lock sets.
Core Metrics
| lock_cell | lock_api | surelock | |
|---|---|---|---|
| Health Score | 43 | 60 | 46 |
| Total Downloads | 8.8K | 829.2M | 304 |
| 30d Downloads | 0 | 38.2M | 0 |
| Dependents | 0 | 1.4K | 0 |
| Releases | 7 | 27 | 1 |
| Last Updated | 1101d ago | 283d ago | 98d ago |
| Age | 3y | 8y 1m | 3m |
Health Breakdown
lock_cell
Maintenance
7
Quality
18
Community
3
Popularity
5
Documentation
10
lock_api
Maintenance
9
Quality
14
Community
17
Popularity
8
Documentation
12
surelock
Maintenance
8
Quality
17
Community
6
Popularity
3
Documentation
12
Technical Details
| lock_cell | lock_api | surelock | |
|---|---|---|---|
| Version | 0.6.0 | 0.4.14 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | 0BSD | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 3 | 7 |
| Crate Size | 7KB | 29KB | 62KB |
| Features | 4 | 4 | 10 |
| Yanked % | 0.0% | 7.4% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | 1.71.0 | 1.90 |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •lock_api leads with a health score of 60/100, but none of the options score above 80.
- •lock_api is depended on by 1.4K crates — strongest ecosystem trust.
- •⚠ lock_cell has not been updated in over a year.