Decision Workspace
lsmtree vs light_merkle vs xsmt
Side-by-side comparison of Rust crates
46
lsmtree
growingv0.1.1
Implements a Sparse Merkle tree for a key-value store. The tree implements the same optimisations specified in the libra whitepaper, to reduce the number of hash operations required per tree operation to O(k) where k is the number of non-empty elements in the tree.
38
light_merkle
growingv0.1.0
A light-weight merkle tree implementation that allows to use any hashing algorithms from the packages sha2 and sha3
37
xsmt
growingv3.0.7
Sparse merkle tree implement in rust
Core Metrics
| lsmtree | light_merkle | xsmt | |
|---|---|---|---|
| Health Score | 46 | 38 | 37 |
| Total Downloads | 18.6K | 1.5K | 11.4K |
| 30d Downloads | 286 | 3 | 11 |
| Dependents | 0 | 0 | 0 |
| Releases | 9 | 1 | 10 |
| Last Updated | 1328d ago | 976d ago | 1379d ago |
| Age | 3y 7m | 2y 8m | 3y 9m |
Health Breakdown
lsmtree
Maintenance
10
Quality
15
Community
6
Popularity
5
Documentation
10
light_merkle
Maintenance
1
Quality
14
Community
6
Popularity
4
Documentation
13
xsmt
Maintenance
5
Quality
12
Community
5
Popularity
5
Documentation
10
Technical Details
| lsmtree | light_merkle | xsmt | |
|---|---|---|---|
| Version | 0.1.1 | 0.1.0 | 3.0.7 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT/Apache-2.0 | MIT | GPL-3.0 |
| Dependencies | 9 | 5 | 13 |
| Crate Size | 32KB | 4KB | 20KB |
| Features | 2 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 30.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •lsmtree leads with a health score of 46/100, but none of the options score above 80.
- •⚠ lsmtree, light_merkle, xsmt have not been updated in over a year.
- •lsmtree, light_merkle are pre-1.0 — API may change.