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

glam:

enable support for the standard library

debug-glam-assert

Enables debug-glam-assert of glam

glam:

enable additional glam checks if debug assertions are enabled

glam-assert

Enables glam-assert of glam

glam:

always enable additional glam checks

scalar-math

Enables scalar-math of glam

glam:

this is primarily for testing the fallback implementation

cuda

Enables cuda of glam

glam:

align types to match CUDA requirements

fast-math

Enables fast-math of glam

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

glam:

experimental nightly portable-simd support

approx

Enables approx of glam

bytemuck

Enables bytemuck of glam

libm

Enables libm, libm of glam

mint

Enables mint of glam

rand

Enables rand of glam

serde

Enables serde, serde of glam

rkyv

Enables rkyv of glam 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