Decision Workspace
wasm_safe_mutex vs non_blocking_mutex vs fast-async-mutex
Side-by-side comparison of Rust crates
53
wasm_safe_mutex
experimentalv0.2.1
A suite of WebAssembly-safe synchronization primitives that paper over platform-specific locking constraints.
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
49
fast-async-mutex
growingv0.6.7
It is a lib which provide asynchronous locking mechanisms (Mutex, RwLock, OrderedMutex and OrderedRwLock)
Core Metrics
| wasm_safe_mutex | non_blocking_mutex | fast-async-mutex | |
|---|---|---|---|
| Health Score | 53 | 53 | 49 |
| Total Downloads | 2.6K | 26.2K | 71.3K |
| 30d Downloads | 333 | 81 | 458 |
| Dependents | 13 | 9 | 89 |
| Releases | 5 | 19 | 29 |
| Last Updated | 41d ago | 948d ago | 1937d ago |
| Age | 7m | 2y 7m | 5y 6m |
Health Breakdown
wasm_safe_mutex
Maintenance
16
Quality
12
Community
9
Popularity
4
Documentation
12
non_blocking_mutex
Maintenance
10
Quality
19
Community
9
Popularity
5
Documentation
10
fast-async-mutex
Maintenance
6
Quality
15
Community
10
Popularity
6
Documentation
12
Technical Details
| wasm_safe_mutex | non_blocking_mutex | fast-async-mutex | |
|---|---|---|---|
| Version | 0.2.1 | 3.1.3 | 0.6.7 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0/MIT |
| Dependencies | 6 | 4 | 2 |
| Crate Size | 126KB | 13KB | 13KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2018 |
| MSRV | 1.85.1 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •wasm_safe_mutex leads with a health score of 53/100, but none of the options score above 80.
- •fast-async-mutex has the most downloads (71.3K), 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.