Cargo Features

[dependencies]
enterpolation = { version = "0.2.1", default-features = false, features = ["std", "libm", "linear", "bezier", "bspline", "serde"] }
default = bezier, bspline, linear, std

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

std default

Enables std of assert_float_eq, num-traits, optional serde, and topology-traits

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

Affects space::DynSpace

libm

Enables libm of num-traits and topology-traits

linear default

Affects enterpolation::linear, builder::Type, builder::TooFewElements, builder::WithoutWeight, builder::WithWeight, builder::Unknown

bezier default

Affects builder::NormalizedInput, builder::InputDomain, builder::Empty, enterpolation::bezier, builder::TooSmallWorkspace, builder::WithoutWeight, builder::WithWeight, builder::Unknown

bspline default

Affects builder::TooFewKnots, enterpolation::bspline, builder::Type, builder::TooFewElements, builder::TooSmallWorkspace, builder::WithoutWeight, builder::WithWeight, builder::Unknown

serde

Enables serde