Cargo Features

[dependencies]
mathru = { version = "0.15.3", default-features = false, features = ["native", "serde-serialize", "openblas", "netlib", "accelerate", "intel-mkl", "convert-mint"] }
default = native

The native feature is set by default whenever mathru is added without default-features = false somewhere in the dependency tree.

native default

Affects scalar::Scalar, scalar::MatrixMultiply, add::native, mul::native, sub::native, add::native, choleskydec::native, hessenbergdec::native, linear::matrixmultiply

serde-serialize = serde
openblas = blas, blas-sys, lapack, lapack-sys

Enables openblas of blas-src ^0.9 and lapack-src ^0.9

netlib = blas, blas-sys, lapack, lapack-sys

Enables netlib of blas-src ^0.9 and lapack-src ^0.9

accelerate = blas, blas-sys, lapack, lapack-sys

Enables accelerate of blas-src ^0.9 and lapack-src ^0.9

intel-mkl = blas, blas-sys, lapack, lapack-sys

Enables intel-mkl of blas-src ^0.9 and lapack-src ^0.9

convert-mint = mint

Conversion

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.

mint convert-mint?
serde serde-serialize?
blas accelerate? intel-mkl? netlib? openblas?
blas-src accelerate? intel-mkl? netlib? openblas?

Enables blas-src ^0.9

blas-sys accelerate? intel-mkl? netlib? openblas?
lapack accelerate? intel-mkl? netlib? openblas?

Affects scalar::Scalar, scalar::Lapack, scalar::Blas, add::lapack, mul::lapack, sub::lapack, add::lapack, choleskydec::lapack, hessenbergdec::lapack, linear::blas, add::native, div::native, sub::native

lapack-src accelerate? intel-mkl? netlib? openblas?

Enables lapack-src ^0.9

lapack-sys accelerate? intel-mkl? netlib? openblas?