Cargo Features

Annembed has no features set by default.

[dependencies]
annembed = { version = "0.1.6", features = ["stdsimd", "simdeez_f", "python", "intel-mkl-static", "openblas-static", "openblas-system", "macos-accelerate"] }
stdsimd

simd choice

Enables stdsimd of hnsw_rs

simdeez_f

Enables simdeez_f of hnsw_rs

hnsw_rs:

feature for simd on stable for x86*

python = numpy

Enables extension-module of pyo3 ^0.24.1

pyo3:

Deprecated: use the PYO3_BUILD_EXTENSION_MODULE environment variable when building a Python extension module (set automatically by setuptools-rust and maturin).

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

Enables blas of ndarray

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