Cargo Features
[dependencies]
expy = { version = "0.0.2", default-features = false, features = ["rng", "glam", "serde"] }
- default = rng
-
The
rng
feature is set by default wheneverexpy
is added without
somewhere in the dependency tree.default-features = false - rng default
-
Add random number generator to the evaluation content.
Makes available the rand() function.Enables fastrand
- glam serde?
-
Enable vector math (for 2D/3D/4D vectors) using glam (compatible e.g. with Bevy engine).
Enables glam ^0.24
- serde
-
Include Deserialize and Serialize impls for expression types. Also makes the
Calc
type available.Enables derivative, serde, serde of glam ^0.24