Cargo Features

ndstruct has no features set by default.

[dependencies]
ndstruct = { version = "2.2.0", features = ["std", "alloc", "rand", "rayon", "serde"] }
std = alloc
alloc std?

Enables alloc of cl-aux

Affects coo::CooVec, csl::CslVec, dense::DenseVec, doc_tests::coo_vec_5, doc_tests::csl_vec_4

Features from optional dependencies

rand implicit feature

Enables rand

rand:

Random number generators and other randomness functionality

rayon implicit feature

Enables rayon

rayon:

Simple work-stealing parallelism for Rust

Affects utils::ParallelIteratorWrapper, utils::ParallelProducerWrapper

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework