Decision Workspace
prefix-trie vs prefix_tree_map vs trie
Side-by-side comparison of Rust crates
66
prefix-trie
growingv0.9.3
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
55
trie
growingv0.3.0
A highly general and customizable trie library
Core Metrics
| prefix-trie | prefix_tree_map | trie | |
|---|---|---|---|
| Health Score | 66 | 42 | 55 |
| Total Downloads | 7.1M | 6.9K | 11.5K |
| 30d Downloads | 1.6M | 0 | 0 |
| Dependents | 182 | 17 | 3 |
| Releases | 23 | 3 | 7 |
| Last Updated | 8d ago | 1596d ago | 133d ago |
| Age | 3y 6m | 4y 7m | 11y 4m |
Health Breakdown
prefix-trie
Maintenance
18
Quality
14
Community
11
Popularity
8
Documentation
15
prefix_tree_map
Maintenance
4
Quality
12
Community
9
Popularity
5
Documentation
12
trie
Maintenance
9
Quality
16
Community
10
Popularity
5
Documentation
15
Technical Details
| prefix-trie | prefix_tree_map | trie | |
|---|---|---|---|
| Version | 0.9.3 | 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 | 19 | 0 | 1 |
| Crate Size | 167KB | 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 66/100, but none of the options score above 80.
- •prefix-trie is depended on by 182 crates — strongest ecosystem trust.
- •⚠ prefix_tree_map has not been updated in over a year.