Decision Workspace
non_blocking_mutex vs wasm_safe_mutex vs fast-async-mutex
Side-by-side comparison of Rust crates
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.
49
fast-async-mutex
growingv0.6.7
It is a lib which provide asynchronous locking mechanisms (Mutex, RwLock, OrderedMutex and OrderedRwLock)
Core Metrics
| non_blocking_mutex | wasm_safe_mutex | fast-async-mutex | |
|---|---|---|---|
| Health Score | 53 | 51 | 49 |
| Total Downloads | 26.4K | 3.1K | 72.7K |
| 30d Downloads | 0 | 0 | 1.2K |
| Dependents | 9 | 13 | 89 |
| Releases | 19 | 5 | 29 |
| Last Updated | 1007d ago | 100d ago | 1996d ago |
| Age | 2y 9m | 9m | 5y 8m |
Health Breakdown
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
fast-async-mutex
Maintenance
6
Quality
15
Community
10
Popularity
6
Documentation
12
Technical Details
| non_blocking_mutex | wasm_safe_mutex | fast-async-mutex | |
|---|---|---|---|
| Version | 3.1.3 | 0.2.1 | 0.6.7 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0/MIT |
| Dependencies | 4 | 6 | 2 |
| Crate Size | 13KB | 126KB | 13KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2018 |
| 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.
- •fast-async-mutex has the most downloads (72.7K), suggesting wider adoption.
- •⚠ non_blocking_mutex, fast-async-mutex have not been updated in over a year.
- •wasm_safe_mutex, fast-async-mutex are pre-1.0 — API may change.