Crate features / ndarray
Feature flags · ndarray 0.17.2 · from crates.io 2026-10-24
ndarray features: what each one does, and the line to copy
Short answerndarray 0.17.2 has 6 features. By default it turns on std; add default-features = false to start from nothing. It needs Rust 1.64 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
blas | dep:cblas-sys, dep:libc | |
matrixmultiply-threading | matrixmultiply/threading | |
portable-atomic-critical-section | portable-atomic/critical-section | |
rayon | dep:rayon, std | |
serde | dep:serde | |
std | yes | num-traits/std, matrixmultiply/std |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version ndarray declares (rust-version), and the release that changed it:
- 0.15.6 (2022-07-30): Rust 1.49
- 0.16.0 (2024-08-03): Rust 1.64
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p ndarray --precise <version>, or use resolver 3, which picks compatible versions for you.
More on ndarray
Real downloads, dependents and alternatives: ndarray crate data (354.5K real downloads a day, 2,985 dependents).
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021
Up next
Before you depend on itndarray crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?