Decision Workspace
slice-rbtree vs prefix-trie vs trie
Side-by-side comparison of Rust crates
38
slice-rbtree
growingv0.1.0
A slice-based Red-black tree
67
prefix-trie
growingv0.8.2
Prefix trie (tree) datastructure (both a set and a map) that provides exact and longest-prefix matches.
59
trie
growingv0.3.0
A highly general and customizable trie library
Core Metrics
| slice-rbtree | prefix-trie | trie | |
|---|---|---|---|
| Health Score | 38 | 67 | 59 |
| Total Downloads | 4.0K | 2.1M | 11.4K |
| 30d Downloads | 5 | 264.2K | 42 |
| Dependents | 0 | 154 | 3 |
| Releases | 3 | 17 | 7 |
| Last Updated | 1217d ago | 5d ago | 25d ago |
| Age | 3y 5m | 3y 2m | 11y |
Health Breakdown
slice-rbtree
Maintenance
4
Quality
14
Community
6
Popularity
4
Documentation
10
prefix-trie
Maintenance
18
Quality
15
Community
11
Popularity
8
Documentation
15
trie
Maintenance
13
Quality
16
Community
10
Popularity
5
Documentation
15
Technical Details
| slice-rbtree | prefix-trie | trie | |
|---|---|---|---|
| Version | 0.1.0 | 0.8.2 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 OR MIT |
| Dependencies | 6 | 16 | 1 |
| Crate Size | 28KB | 81KB | 28KB |
| Features | 0 | 5 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | 1.71.1 | 1.85 |
| Owners | 1 | 1 | 3 (team) |
Links
Quick Verdict
- •prefix-trie leads with a health score of 67/100, but none of the options score above 80.
- •prefix-trie is depended on by 154 crates — strongest ecosystem trust.
- •⚠ slice-rbtree has not been updated in over a year.