acap
As Close As Possible — [nearest neighbor search] in Rust.
```rust use acap::euclid::Euclidean; use acap::vp::VpTree; use acap::NearestNeighbors;
let tree = VpTree::balanced(vec![ Euclidean([3, 4]), Euclidean([5, 12]), Euclidean([8, 15]), Euclidean([7, 24]), ]);
let nearest = tree.nearest(&[7, 7]).unwrap(); asserteq!(nearest.item, &Euclidean([3, 4])); asserteq!(nearest.distance, 5); ```