Decision Workspace
cocklock vs rslock vs rustfs-lock
Side-by-side comparison of Rust crates
32
cocklock
growingv0.1.0
Implementation of the distributed locking mechanism built on top of Postgres/CockroachDB
51
rslock
growingv0.9.1
Implementation of the distributed locking mechanism built on top of Async Redis
59
rustfs-lock
stablev1.0.1
Distributed locking mechanism for RustFS, providing synchronization and coordination across distributed systems.
Core Metrics
| cocklock | rslock | rustfs-lock | |
|---|---|---|---|
| Health Score | 32 | 51 | 59 |
| Total Downloads | 1.6K | 465.0K | 636 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 43 | 8 |
| Releases | 1 | 21 | 3 |
| Last Updated | 1521d ago | 71d ago | 6d ago |
| Age | 4y 2m | 4y | 1y 3m |
Health Breakdown
cocklock
Maintenance
1
Quality
14
Community
3
Popularity
4
Documentation
10
rslock
Maintenance
15
Quality
12
Community
7
Popularity
7
Documentation
10
rustfs-lock
Maintenance
17
Quality
15
Community
9
Popularity
3
Documentation
15
Technical Details
| cocklock | rslock | rustfs-lock | |
|---|---|---|---|
| Version | 0.1.0 | 0.9.1 | 1.0.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | BSD-3-Clause | Apache-2.0 |
| Dependencies | 6 | 10 | 18 |
| Crate Size | 14KB | 35KB | 94KB |
| Features | 0 | 4 | 4 |
| Yanked % | 0.0% | 9.5% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | — | 1.98.1 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •rustfs-lock leads with a health score of 59/100, but none of the options score above 80.
- •rslock has the most downloads (465.0K), suggesting wider adoption.
- •⚠ cocklock has not been updated in over a year.
- •cocklock, rslock are pre-1.0 — API may change.