Cargo Features
[dependencies]
annoy-rs = { version = "0.1.0", default-features = false, features = ["cffi", "simd", "bench"] }
- default = cffi
-
The
cffi
feature is set by default wheneverannoy-rs
is added without
somewhere in the dependency tree.default-features = false - cffi default = libc
- simd
-
Affects
utils::dot_product_simd
,utils::cosine_distance_simd
,utils::euclidean_distance_simd
,utils::manhattan_distance_simd
… - bench
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.