Cargo Features

[dependencies]
sprs = { version = "0.11.2", default-features = false, features = ["multi_thread", "alga", "serde", "approx"] }
default = alga, multi_thread

These default features are set whenever sprs is added without default-features = false somewhere in the dependency tree.

multi_thread default

Enables num_cpus and rayon

Affects smmp::ThreadingStrategy, smmp::set_thread_threading_strategy, smmp::thread_threading_strategy

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.

alga default
serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

approx implicit feature

Enables approx

approx:

Approximate floating point equality comparisons and assertions

Affects sprs::approx