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 wheneverglam-ext
is added without
somewhere in the dependency tree.default-features = false - std default
-
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
-
glam:
align types to match CUDA requirements
- fast-math
-
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
-
glam:
experimental nightly portable-simd support
- approx
- bytemuck
- libm
- mint
- rand
- serde
- 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