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

std default

Enables std of glam ^0.30

glam:

enable support for the standard library

libm

Enables libm of glam ^0.30

glam:

enables libm and prefers it over std

mint

Enables mint of glam ^0.30

bytemuck

Enables bytemuck of glam ^0.30 and derive of bytemuck

bytemuck:

In v2 we'll fix these names to be more "normal".

All MSRV notes below are GUIDELINES and future versions may require even more MSRV on any feature.

MSRV 1.68.0: Enable deriving the various bytemuck traits.

serde

Enables serde, serde of glam ^0.30

speedy

Enables speedy, speedy of glam ^0.30

debug_assert

enable additional checks if debug assertions are enabled

Enables debug-glam-assert of glam ^0.30

assert

always enable additional checks

Enables glam-assert of glam ^0.30