Cargo Features
Annembed has no features set by default.
[dependencies]
annembed = { version = "0.1.5", features = ["stdsimd", "simdeez_f", "python", "intel-mkl-static", "openblas-static", "openblas-system", "macos-accelerate"] }
- stdsimd
-
simd choice
- simdeez_f
-
hnsw_rs:
feature for simd on stable for x86*
- python = numpy
-
Enables extension-module of pyo3 ^0.24.1
pyo3:
Use this feature when building an extension module.
It tells the linker to keep the python symbols unresolved,
so that the module can also be used with statically linked python interpreters. - intel-mkl-static
-
blas choice
Enables intel-mkl-static of lax, blas of ndarray
- openblas-static
-
Enables openblas-static of lax and blas of ndarray
ndarray:
Enable blas usage
See README for more instructions - openblas-system
-
Enables openblas-system of lax, blas of ndarray
- macos-accelerate = blas-src
-
for macos
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.
- blas-src macos-accelerate?
-
Enables blas-src
for macos
- pyo3 python?
-
Enables pyo3 ^0.24.1
- numpy python?
-
Enables numpy ^0.24