Cargo Features
[dependencies]
ndarray = { version = "0.16.1", default-features = false, features = ["blas", "serde", "serde-1", "test", "docs", "std", "rayon", "matrixmultiply-threading", "portable-atomic-critical-section"] }
- default = std
-
The
std
feature is set by default wheneverndarray
is added without
somewhere in the dependency tree.default-features = false - blas
-
Enable blas usage
See README for more instructionscblas-sys:
Use via the
blas
crate feature - serde docs?
-
Enables serde
Affects
arraytraits::ARRAY_FORMAT_VERSION
… - serde-1
-
Old name for the serde feature
Enables serde
- test
-
These features are used for testing
- docs = approx, 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? = std
-
Enables rayon
Affects
ndarray::parallel
… - matrixmultiply-threading
-
Enables threading of matrixmultiply
- portable-atomic-critical-section
-
Enables critical-section of portable-atomic
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.