Decision Workspace
intrusivelock vs lock_api vs spinning
Side-by-side comparison of Rust crates
44
intrusivelock
experimentalv0.1.1
Intrusive locks for Rust — locks that live inside the memory region they protect
59
lock_api
growingv0.4.14
Wrappers to create fully-featured Mutex and RwLock types. Compatible with no_std.
55
spinning
growingv0.1.1
Mutexes and SIX locks implemented by spinning
Core Metrics
| intrusivelock | lock_api | spinning | |
|---|---|---|---|
| Health Score | 44 | 59 | 55 |
| Total Downloads | 47 | 1.1B | 2.2M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 1.5K | 39 |
| Releases | 2 | 27 | 6 |
| Last Updated | 212d ago | 371d ago | 15d ago |
| Age | 7m | 8y 4m | 6y 3m |
Health Breakdown
intrusivelock
Maintenance
9
Quality
17
Community
6
Popularity
2
Documentation
10
lock_api
Maintenance
8
Quality
14
Community
17
Popularity
8
Documentation
12
spinning
Maintenance
14
Quality
11
Community
10
Popularity
8
Documentation
12
Technical Details
| intrusivelock | lock_api | spinning | |
|---|---|---|---|
| Version | 0.1.1 | 0.4.14 | 0.1.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 3 | 1 |
| Crate Size | 13KB | 29KB | 13KB |
| Features | 2 | 4 | 2 |
| Yanked % | 0.0% | 7.4% | 83.3% |
| Edition | 2024 | 2021 | 2018 |
| MSRV | — | 1.71.0 | — |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •lock_api leads with a health score of 59/100, but none of the options score above 80.
- •lock_api is depended on by 1.5K crates — strongest ecosystem trust.
- •⚠ lock_api has not been updated in over a year.