Decision Workspace
hnsw vs kdtree vs hgg
Side-by-side comparison of Rust crates
48
hnsw
growingv0.11.0
Fast approximate nearest neighbors
53
kdtree
growingv0.8.0
K-dimensional tree in Rust for fast geospatial indexing and nearest neighbors lookup
43
hgg
growingv0.4.1
Approximate nearest neighbor search collection
Core Metrics
| hnsw | kdtree | hgg | |
|---|---|---|---|
| Health Score | 48 | 53 | 43 |
| Total Downloads | 103.8K | 1.9M | 10.0K |
| 30d Downloads | 5.4K | 122.3K | 40 |
| Dependents | 165 | 397 | 0 |
| Releases | 22 | 14 | 6 |
| Last Updated | 1713d ago | 146d ago | 1709d ago |
| Age | 6y 7m | 10y 7m | 4y 8m |
Health Breakdown
hnsw
Maintenance
6
Quality
12
Community
12
Popularity
6
Documentation
12
kdtree
Maintenance
9
Quality
14
Community
10
Popularity
7
Documentation
13
hgg
Maintenance
7
Quality
13
Community
6
Popularity
5
Documentation
12
Technical Details
| hnsw | kdtree | hgg | |
|---|---|---|---|
| Version | 0.11.0 | 0.8.0 | 0.4.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 22 | 8 | 14 |
| Crate Size | 27KB | 20KB | 25KB |
| Features | 1 | 1 | 0 |
| Yanked % | 4.5% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •kdtree leads with a health score of 53/100, but none of the options score above 80.
- •kdtree is depended on by 397 crates — strongest ecosystem trust.
- •⚠ hnsw, hgg have not been updated in over a year.