Cargo Features

[dependencies]
rust-optimal-transport = { version = "0.2.0", default-features = false, features = ["blas", "ndarray-linalg-openblas-static", "ndarray-linalg-openblas-system", "openblas", "openblas-system"] }
default blas? = ndarray-linalg-openblas-system

The ndarray-linalg-openblas-system feature is set by default whenever rust-optimal-transport is added without default-features = false somewhere in the dependency tree.

blas = default, openblas-system
ndarray-linalg-openblas-static

ndarray-linalg LAPACK FFI

Enables openblas-static of ndarray-linalg ^0.14

ndarray-linalg-openblas-system default

Enables openblas-system of ndarray-linalg ^0.14

openblas = blas-src, openblas-src

Compile openblas

Enables openblas of blas-src ^0.8, blas of ndarray ^0.15.4

openblas-system blas? = blas-src

Pre-compiled/System openblas

Enables openblas of blas-src ^0.8, blas of ndarray ^0.15.4, cblas and system of openblas-src

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 openblas? openblas-system?

Enables blas-src ^0.8

openblas-src openblas? openblas-system?