Decision Workspace
prefix-trie vs prefix_tree_map vs trie
Side-by-side comparison of Rust crates
67
prefix-trie
growingv0.8.2
Prefix trie (tree) datastructure (both a set and a map) that provides exact and longest-prefix matches.
42
prefix_tree_map
growingv0.2.1
A Rust implementation of generic prefix tree (trie) map with wildcard capture support
59
trie
growingv0.3.0
A highly general and customizable trie library
Core Metrics
| prefix-trie | prefix_tree_map | trie | |
|---|---|---|---|
| Health Score | 67 | 42 | 59 |
| Total Downloads | 2.1M | 6.1K | 11.4K |
| 30d Downloads | 271.4K | 257 | 43 |
| Dependents | 154 | 17 | 3 |
| Releases | 17 | 3 | 7 |
| Last Updated | 5d ago | 1488d ago | 25d ago |
| Age | 3y 2m | 4y 3m | 11y |
Health Breakdown
prefix-trie
Maintenance
18
Quality
15
Community
11
Popularity
8
Documentation
15
prefix_tree_map
Maintenance
4
Quality
12
Community
9
Popularity
5
Documentation
12
trie
Maintenance
13
Quality
16
Community
10
Popularity
5
Documentation
15
Technical Details
| prefix-trie | prefix_tree_map | trie | |
|---|---|---|---|
| Version | 0.8.2 | 0.2.1 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | GPL-3.0-or-later | Apache-2.0 OR MIT |
| Dependencies | 16 | 0 | 1 |
| Crate Size | 81KB | 18KB | 28KB |
| Features | 5 | 2 | 1 |
| Yanked % | 0.0% | 33.3% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.71.1 | 1.59 | 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.
- •⚠ prefix_tree_map has not been updated in over a year.