Cargo Features

[dependencies]
kn0sys_ndarray = { version = "0.17.1", default-features = false, features = ["blas", "std", "serde", "rayon", "matrixmultiply-threading", "portable-atomic-critical-section", "approx"] }
default = std

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

blas

Enable blas usage
See README for more instructions

Enables cblas-sys and libc

cblas-sys:

Use via the blas crate feature

std default rayon?

Enables std of matrixmultiply and num-traits

Affects linalg_traits::NdFloat

serde

Enables serde

Affects arraytraits::ARRAY_FORMAT_VERSION

rayon = std

Enables rayon

Affects kn0sys_ndarray::parallel

matrixmultiply-threading

Enables threading of matrixmultiply

portable-atomic-critical-section

Enables critical-section of portable-atomic

Features from optional dependencies

approx implicit feature

Enables approx

approx:

Approximate floating point equality comparisons and assertions