Cargo Features
[dependencies]
macaw = { version = "0.19.1", default-features = false, features = ["std", "libm", "with_bytemuck", "with_serde", "with_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
-
Enables std of glam ^0.25
glam:
enable support for the standard library
- libm
-
Enables libm of glam ^0.25
- with_bytemuck = bytemuck
-
Enables bytemuck of glam ^0.25
- with_serde = serde
-
Enables serde of glam ^0.25
- with_speedy = speedy
- debug_assert
-
enable additional checks if debug assertions are enabled
Enables debug-glam-assert of glam ^0.25
- assert
-
always enable additional checks
Enables glam-assert of glam ^0.25
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.
- bytemuck with_bytemuck?
-
Enables bytemuck
avoid adding more dependencies here!
- serde with_serde?
- speedy with_speedy?