Cargo Features

sif-embedding has no features set by default.

[dependencies]
sif-embedding = { version = "0.6.1", features = ["openblas", "openblas-static", "openblas-system", "netlib", "netlib-static", "netlib-system", "intel-mkl", "intel-mkl-static", "intel-mkl-system", "docs", "test"] }
openblas = openblas-static

One of these features must always be specified. See https://github.com/rust-ndarray/ndarray-linalg/tree/ndarray-linalg-v0.16.0.

openblas-static openblas?

Enables openblas-static of ndarray-linalg, static of openblas-src

openblas-system test?

Enables openblas-system of ndarray-linalg, system of openblas-src

netlib = netlib-static
netlib-static netlib?

Enables netlib-static of ndarray-linalg, static of netlib-src

netlib-system

Enables netlib-system of ndarray-linalg, system of netlib-src

intel-mkl = intel-mkl-static
intel-mkl-static intel-mkl?

Enables mkl-static-lp64-seq of intel-mkl-src, intel-mkl-static of ndarray-linalg

intel-mkl-system

Enables mkl-dynamic-lp64-seq of intel-mkl-src, intel-mkl-system of ndarray-linalg

docs = finalfusion, wordfreq

For docs.rs

test = finalfusion, openblas-system, wordfreq

For easing test command cargo test --features test.

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.

finalfusion docs? test?

Enables finalfusion ^0.17.2

NOTE(kampersanda): Do not forget to update the version number in lib.rs as well.

Affects sif-embedding::finalfusion

wordfreq docs? test?

Enables wordfreq

NOTE(kampersanda): Do not forget to update the version number in lib.rs as well.

Affects sif-embedding::wordfreq

intel-mkl-src intel-mkl-static? intel-mkl-system?
netlib-src netlib-static? netlib-system?
openblas-src openblas-static? openblas-system?