Decision Workspace
prefix-range vs prefix-trie vs ftree
Side-by-side comparison of Rust crates
39
prefix-range
growingv0.1.0
Compute bounds for prefix string queries for BTreeSet/BTreeMap::range
67
prefix-trie
growingv0.8.2
Prefix trie (tree) datastructure (both a set and a map) that provides exact and longest-prefix matches.
62
ftree
stablev1.3.0
A very fast fenwick tree implementation
Core Metrics
| prefix-range | prefix-trie | ftree | |
|---|---|---|---|
| Health Score | 39 | 67 | 62 |
| Total Downloads | 6.9K | 2.1M | 159.0K |
| 30d Downloads | 184 | 271.4K | 21.4K |
| Dependents | 0 | 154 | 65 |
| Releases | 1 | 17 | 7 |
| Last Updated | 803d ago | 5d ago | 82d ago |
| Age | 2y 2m | 3y 2m | 2y 8m |
Health Breakdown
prefix-range
Maintenance
1
Quality
16
Community
5
Popularity
5
Documentation
12
prefix-trie
Maintenance
18
Quality
15
Community
11
Popularity
8
Documentation
15
ftree
Maintenance
12
Quality
21
Community
10
Popularity
6
Documentation
13
Technical Details
| prefix-range | prefix-trie | ftree | |
|---|---|---|---|
| Version | 0.1.0 | 0.8.2 | 1.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0 OR MIT |
| Dependencies | 0 | 16 | 2 |
| Crate Size | 5KB | 81KB | 7KB |
| Features | 0 | 5 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.65.0 | 1.71.1 | — |
| Owners | 1 | 1 | 1 |
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-range has not been updated in over a year.
- •prefix-range, prefix-trie are pre-1.0 — API may change.