Cargo Features

[dependencies]
glam-ext = { version = "0.2.1", default-features = false, features = ["std", "debug-glam-assert", "glam-assert", "scalar-math", "cuda", "fast-math", "core-simd", "approx", "bytemuck", "libm", "mint", "rand", "serde", "rkyv", "bytecheck"] }
default = std

The std feature is set by default whenever glam-ext is added without default-features = false somewhere in the dependency tree.

std default

Enables std of glam ^0.29

glam:

enable support for the standard library

debug-glam-assert

Enables debug-glam-assert of glam ^0.29

glam:

enable additional glam checks if debug assertions are enabled

glam-assert

Enables glam-assert of glam ^0.29

glam:

always enable additional glam checks

scalar-math

Enables scalar-math of glam ^0.29

glam:

this is primarily for testing the fallback implementation

cuda

Enables cuda of glam ^0.29

glam:

align types to match CUDA requirements

fast-math

Enables fast-math of glam ^0.29

glam:

Enables platform specific optimizations that might speed-up certain operations.
This will cause APIs to output different results depending on the platform used and will likely break cross-platform determinism.
This should NOT be enabled by intermediate libraries, deferring the decision to the end binary build instead.

core-simd

Enables core-simd of glam ^0.29

glam:

experimental nightly portable-simd support

approx

Enables approx of glam ^0.29

bytemuck

Enables bytemuck of glam ^0.29

libm

Enables libm, libm of glam ^0.29

mint

Enables mint of glam ^0.29

rand

Enables rand of glam ^0.29

serde

Enables serde, serde of glam ^0.29

rkyv

Enables rkyv of glam ^0.29 and rkyv ^0.7

Set a size_xx feature so that this crate compiles properly with --all-targets --all-features

bytecheck

Enables bytecheck of glam ^0.29