Decision Workspace
petal-neighbors vs kiddo vs ball-tree
Side-by-side comparison of Rust crates
57
petal-neighbors
growingv0.18.0
Nearest neighbor search algorithms including a ball tree and a vantage point tree.
63
kiddo
stablev5.3.1
A high-performance, flexible, ergonomic k-d tree library. Ideal for geo- and astro- nearest-neighbour and k-nearest-neighbor queries
50
ball-tree
growingv0.5.2
Ball-tree implementation for K-nearest neighbors
Core Metrics
| petal-neighbors | kiddo | ball-tree | |
|---|---|---|---|
| Health Score | 57 | 63 | 50 |
| Total Downloads | 206.5K | 6.3M | 46.4K |
| 30d Downloads | 21.1K | 547.2K | 3.2K |
| Dependents | 45 | 363 | 1 |
| Releases | 17 | 51 | 8 |
| Last Updated | 187d ago | 41d ago | 138d ago |
| Age | 6y 6m | 5y 1m | 7y 6m |
Health Breakdown
petal-neighbors
Maintenance
9
Quality
14
Community
13
Popularity
6
Documentation
15
kiddo
Maintenance
16
Quality
16
Community
10
Popularity
8
Documentation
13
ball-tree
Maintenance
12
Quality
15
Community
7
Popularity
6
Documentation
10
Technical Details
| petal-neighbors | kiddo | ball-tree | |
|---|---|---|---|
| Version | 0.18.0 | 5.3.1 | 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% | 5.9% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.81 | — | — |
| Owners | 2 | 1 | 1 |
Links
Quick Verdict
- •kiddo leads with a health score of 63/100, but none of the options score above 80.
- •kiddo is depended on by 363 crates — strongest ecosystem trust.
- •petal-neighbors, ball-tree are pre-1.0 — API may change.