Rust Cosine-similarity Resources