Cargo Features
[dependencies]
ndarray = { version = "0.15.6", default-features = false, features = ["blas", "serde-1", "test", "docs", "std", "rayon", "matrixmultiply-threading"] }
- default = std
-
The
std
feature is set by default wheneverndarray
is added without
somewhere in the dependency tree.default-features = false - blas = cblas-sys, libc
-
Enable blas usage
See README for more instructions - serde-1 = serde
-
Old name for the serde feature
- test
-
These features are used for testing
- docs = approx, approx-0_5, rayon, serde
-
This feature is used for docs
Affects
ndarray::doc
… - std default rayon?
-
Enables std of matrixmultiply and num-traits
Affects
linalg_traits::NdFloat
… - rayon docs? = rayon_, std
-
Affects
ndarray::parallel
… - matrixmultiply-threading
-
Enables threading of matrixmultiply
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features.