Decision Workspace
petal-neighbors vs kiddo vs ball-tree
Side-by-side comparison of Rust crates
59
petal-neighbors
growingv0.18.0
Nearest neighbor search algorithms including a ball tree and a vantage point tree.
65
kiddo
stablev5.3.0
A high-performance, flexible, ergonomic k-d tree library. Ideal for geo- and astro- nearest-neighbour and k-nearest-neighbor queries
53
ball-tree
growingv0.5.2
Ball-tree implementation for K-nearest neighbors
Core Metrics
| petal-neighbors | kiddo | ball-tree | |
|---|---|---|---|
| Health Score | 59 | 65 | 53 |
| Total Downloads | 160.1K | 5.2M | 41.4K |
| 30d Downloads | 31.2K | 533.2K | 1.8K |
| Dependents | 45 | 288 | 1 |
| Releases | 17 | 50 | 8 |
| Last Updated | 128d ago | 8d ago | 79d ago |
| Age | 6y 4m | 4y 11m | 7y 4m |
Health Breakdown
petal-neighbors
Maintenance
11
Quality
14
Community
13
Popularity
6
Documentation
15
kiddo
Maintenance
18
Quality
16
Community
10
Popularity
8
Documentation
13
ball-tree
Maintenance
15
Quality
15
Community
7
Popularity
6
Documentation
10
Technical Details
| petal-neighbors | kiddo | ball-tree | |
|---|---|---|---|
| Version | 0.18.0 | 5.3.0 | 0.5.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 7 | 40 | 2 |
| Crate Size | 23KB | 158KB | 8KB |
| Features | 0 | 12 | 0 |
| Yanked % | 0.0% | 6.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.81 | — | — |
| Owners | 2 | 1 | 1 |
Links
Quick Verdict
- •kiddo leads with a health score of 65/100, but none of the options score above 80.
- •kiddo is depended on by 288 crates — strongest ecosystem trust.
- •petal-neighbors, ball-tree are pre-1.0 — API may change.