Decision Workspace
agent-lock vs non_blocking_mutex vs wasm_safe_mutex
Side-by-side comparison of Rust crates
44
agent-lock
experimentalv0.1.0
Cooperative execution lock to prevent concurrent agent runs on the same key
53
non_blocking_mutex
growingv3.1.3
NonBlockingMutex is currently the fastest way to do expensive calculations under lock, or do cheap calculations under lock when concurrency/load/contention is very high
51
wasm_safe_mutex
experimentalv0.2.1
A suite of WebAssembly-safe synchronization primitives that paper over platform-specific locking constraints.
Core Metrics
| agent-lock | non_blocking_mutex | wasm_safe_mutex | |
|---|---|---|---|
| Health Score | 44 | 53 | 51 |
| Total Downloads | 7 | 26.4K | 3.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 9 | 13 |
| Releases | 1 | 19 | 5 |
| Last Updated | today | 1007d ago | 100d ago |
| Age | 1d | 2y 9m | 9m |
Health Breakdown
agent-lock
Maintenance
13
Quality
15
Community
5
Popularity
1
Documentation
10
non_blocking_mutex
Maintenance
10
Quality
19
Community
9
Popularity
5
Documentation
10
wasm_safe_mutex
Maintenance
14
Quality
12
Community
9
Popularity
4
Documentation
12
Technical Details
| agent-lock | non_blocking_mutex | wasm_safe_mutex | |
|---|---|---|---|
| Version | 0.1.0 | 3.1.3 | 0.2.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 4 | 6 |
| Crate Size | 3KB | 13KB | 126KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | — | 1.85.1 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •non_blocking_mutex leads with a health score of 53/100, but none of the options score above 80.
- •⚠ non_blocking_mutex has not been updated in over a year.
- •agent-lock, wasm_safe_mutex are pre-1.0 — API may change.