Cargo Features

[dependencies]
nifti = { version = "0.16.0", default-features = false, features = ["nalgebra_affine", "ndarray_volumes"] }
default = ndarray_volumes

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

nalgebra_affine = nalgebra, simba

Affects nifti::affine

ndarray_volumes default = ndarray

Affects nifti::writer, util::is_hdr_file, volume::ndarray

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

nalgebra nalgebra_affine?
ndarray ndarray_volumes
simba nalgebra_affine?