Cargo Features
[dependencies]
macaw = { version = "0.30.0", default-features = false, features = ["std", "libm", "mint", "bytemuck", "serde", "speedy", "debug_assert", "assert"] }
- default = std
-
The
std
feature is set by default whenevermacaw
is added without
somewhere in the dependency tree.default-features = false - std default
-
glam:
enable support for the standard library
- libm
-
glam:
enables libm and prefers it over std
- mint
- bytemuck
-
Enables bytemuck of glam and derive of bytemuck
bytemuck:
In v2 we'll fix these names to be more "normal".
Enable deriving the various
bytemuck
traits. - serde
- speedy
- debug_assert
-
enable additional checks if debug assertions are enabled
Enables debug-glam-assert of glam
- assert
-
always enable additional checks
Enables glam-assert of glam