Cargo Features
[dependencies]
splines = { version = "5.0.0", default-features = false, features = ["std", "cgmath", "glam", "nalgebra", "serde", "num-traits"] }
- default = std
-
The
std
feature is set by default wheneversplines
is added without
somewhere in the dependency tree.default-features = false - std default
Features from optional dependencies
- cgmath implicit feature
-
Enables cgmath
cgmath:
A linear algebra and mathematics library for computer graphics
- glam implicit feature
-
Enables glam
glam:
A simple and fast 3D math library for games and graphics
- nalgebra implicit feature
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- num-traits implicit feature
-
Enables num-traits
needed for no_std, to provide cos impl