1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
//! Crate Feature Flags
//!
//! The following crate feature flags are available. They are configured in your
//! `Cargo.toml` where the dependency on `ndarray` is defined.
//!
//! ## `std`
//! - Rust standard library (enabled by default)
//! - This crate can be used without the standard library by disabling the
//! default `std` feature. To do so, use `default-features = false` in
//! your `Cargo.toml`.
//! - The `geomspace` `linspace` `logspace` `range` `std` `var` `var_axis`
//! and `std_axis` methods are only available when `std` is enabled.
//!
//! ## `serde`
//! - Enables serialization support for serde 1.x
//!
//! ## `rayon`
//! - Enables parallel iterators, parallelized methods, the [`parallel`] module and [`par_azip!`].
//! - Implies std
//!
//! ## `approx`
//! - Enables implementations of traits from version 0.4 of the [`approx`] crate.
//!
//! ## `approx-0_5`
//! - Enables implementations of traits from version 0.5 of the [`approx`] crate.
//!
//! ## `blas`
//! - Enable transparent BLAS support for matrix multiplication.
//! Uses ``blas-src`` for pluggable backend, which needs to be configured
//! separately (see the README).
//!
//! ## `matrixmultiply-threading`
//! - Enable the ``threading`` feature in the matrixmultiply package
//!
//! [`parallel`]: crate::parallel