Decision Workspace
intrusivelock vs lock_api vs spinning
Side-by-side comparison of Rust crates
45
intrusivelock
experimentalv0.1.1
Intrusive locks for Rust — locks that live inside the memory region they protect
60
lock_api
growingv0.4.14
Wrappers to create fully-featured Mutex and RwLock types. Compatible with no_std.
44
spinning
growingv0.1.0
Mutexes and SIX locks implemented by spinning
Core Metrics
| intrusivelock | lock_api | spinning | |
|---|---|---|---|
| Health Score | 45 | 60 | 44 |
| Total Downloads | 32 | 728.2M | 2.0M |
| 30d Downloads | 0 | 59.0M | 57.6K |
| Dependents | 0 | 1.3K | 39 |
| Releases | 2 | 27 | 5 |
| Last Updated | 75d ago | 234d ago | 2001d ago |
| Age | 2m | 7y 11m | 5y 11m |
Health Breakdown
intrusivelock
Maintenance
10
Quality
17
Community
6
Popularity
2
Documentation
10
lock_api
Maintenance
10
Quality
14
Community
16
Popularity
8
Documentation
12
spinning
Maintenance
3
Quality
11
Community
10
Popularity
8
Documentation
12
Technical Details
| intrusivelock | lock_api | spinning | |
|---|---|---|---|
| Version | 0.1.1 | 0.4.14 | 0.1.0 |
| 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% | 60.0% |
| Edition | 2024 | 2021 | 2018 |
| MSRV | — | 1.71.0 | — |
| 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.3K crates — strongest ecosystem trust.
- •⚠ spinning has not been updated in over a year.