Decision Workspace
wtxn vs lock-db vs txn-db
Side-by-side comparison of Rust crates
40
wtxn
experimentalv0.1.2
Transaction manager, key lock table, and watched keys tracking for wedb
59
lock-db
experimentalv1.0.0
Lock manager and deadlock detection for Rust databases - row/range locks, multiple granularities, and wait-for cycle detection.
60
txn-db
experimentalv1.0.1
MVCC transaction engine for Rust storage layers. Snapshot isolation and serializable transactions with multi-version concurrency control, conflict detection, and a durable transaction log on wal-db. The transaction layer for embedded databases and Hive DB.
Core Metrics
| wtxn | lock-db | txn-db | |
|---|---|---|---|
| Health Score | 40 | 59 | 60 |
| Total Downloads | 101 | 96 | 179 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 4 | 0 | 0 |
| Releases | 3 | 5 | 10 |
| Last Updated | 20d ago | 126d ago | 1d ago |
| Age | 23d | 4m | 4m |
Health Breakdown
wtxn
Maintenance
13
Quality
12
Community
5
Popularity
2
Documentation
8
lock-db
Maintenance
18
Quality
18
Community
6
Popularity
2
Documentation
15
txn-db
Maintenance
19
Quality
17
Community
6
Popularity
3
Documentation
15
Technical Details
| wtxn | lock-db | txn-db | |
|---|---|---|---|
| Version | 0.1.2 | 1.0.0 | 1.0.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MulanPSL-2.0 | Apache-2.0 OR MIT | Apache-2.0 OR MIT |
| Dependencies | 11 | 4 | 6 |
| Crate Size | 43KB | 98KB | 119KB |
| Features | 0 | 3 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | 1.85 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •txn-db leads with a health score of 60/100, but none of the options score above 80.
- •wtxn is pre-1.0 — API may change.