Cargo Features
RaBitQ-RS has no features set by default.
[dependencies]
rabitq-rs = { version = "0.7.0", features = ["python", "huge_pages"] }
- python = numpy, pyo3
-
Affects
rabitq-rs::python_bindings,python_bindings::PyMstgIndex,python_bindings::PyIvfRabitqIndex… - huge_pages
-
Enable huge page memory support for better TLB efficiency
Affects
memory::enable_huge_pages,memory::AlignedVec,memory::allocate_aligned_vec,memory::check_huge_pages_available…
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.
- pyo3 python?
-
Enables pyo3 ^0.20
Python bindings (optional)
- numpy python?
-
Enables numpy ^0.20