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