Decision Workspace
xsmt vs lsmtree vs alloy-trie
Side-by-side comparison of Rust crates
37
xsmt
growingv3.0.7
Sparse merkle tree implement in rust
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.
71
alloy-trie
growingv0.9.5
Fast Merkle-Patricia Trie (MPT) state root calculator and proof generator for prefix-sorted nibbles
Core Metrics
| xsmt | lsmtree | alloy-trie | |
|---|---|---|---|
| Health Score | 37 | 46 | 71 |
| Total Downloads | 11.4K | 18.6K | 8.5M |
| 30d Downloads | 11 | 286 | 1.2M |
| Dependents | 0 | 0 | 282 |
| Releases | 10 | 9 | 29 |
| Last Updated | 1379d ago | 1328d ago | 18d ago |
| Age | 3y 9m | 3y 7m | 2y 3m |
Health Breakdown
xsmt
Maintenance
5
Quality
12
Community
5
Popularity
5
Documentation
10
lsmtree
Maintenance
10
Quality
15
Community
6
Popularity
5
Documentation
10
alloy-trie
Maintenance
19
Quality
14
Community
18
Popularity
8
Documentation
12
Technical Details
| xsmt | lsmtree | alloy-trie | |
|---|---|---|---|
| Version | 3.0.7 | 0.1.1 | 0.9.5 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | GPL-3.0 | MIT/Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 13 | 9 | 16 |
| Crate Size | 20KB | 32KB | 58KB |
| Features | 0 | 2 | 5 |
| Yanked % | 30.0% | 0.0% | 3.5% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | — | 1.85 |
| Owners | 2 | 1 | 3 (team) |
Links
Quick Verdict
- •alloy-trie leads with a health score of 71/100, but none of the options score above 80.
- •alloy-trie is depended on by 282 crates — strongest ecosystem trust.
- •⚠ xsmt, lsmtree have not been updated in over a year.
- •lsmtree, alloy-trie are pre-1.0 — API may change.