Cargo Features

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 whenever macaw is added without default-features = false somewhere in the dependency tree.

std default

Enables std of glam ^0.25


enable support for the standard library


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

enable additional checks if debug assertions are enabled

Enables debug-glam-assert of glam ^0.25


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?