Decision Workspace
hnsw vs kdtree vs hgg
Side-by-side comparison of Rust crates
48
hnsw
growingv0.11.0
Fast approximate nearest neighbors
57
kdtree
growingv0.8.1
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 | 57 | 43 |
| Total Downloads | 152.7K | 3.1M | 10.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 177 | 477 | 0 |
| Releases | 22 | 15 | 6 |
| Last Updated | 1909d ago | 78d ago | 1905d ago |
| Age | 7y 1m | 11y 2m | 5y 3m |
Health Breakdown
hnsw
Maintenance
6
Quality
12
Community
12
Popularity
6
Documentation
12
kdtree
Maintenance
12
Quality
14
Community
10
Popularity
8
Documentation
13
hgg
Maintenance
7
Quality
13
Community
6
Popularity
5
Documentation
12
Technical Details
| hnsw | kdtree | hgg | |
|---|---|---|---|
| Version | 0.11.0 | 0.8.1 | 0.4.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 22 | 8 | 14 |
| Crate Size | 27KB | 31KB | 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 57/100, but none of the options score above 80.
- •kdtree is depended on by 477 crates — strongest ecosystem trust.
- •⚠ hnsw, hgg have not been updated in over a year.