Cargo Features
[dependencies]
glamour = { version = "0.18.0", default-features = false, features = ["std", "scalar-math", "serde", "core-simd", "facet", "mint", "libm", "encase", "wasmtime"] }
- default = std
-
The
std
feature is set by default wheneverglamour
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of glam and num-traits
glam:
enable support for the standard library
- scalar-math
-
Enables scalar-math of glam
glam:
this is primarily for testing the fallback implementation
- serde
-
Affects
marker::Serializable
… - core-simd
-
glam:
experimental nightly portable-simd support
- facet
-
Enables facet and facet-derive
- mint
-
Enable conversions to
mint
types - libm
-
Required for compiling without
std
.Enables libm of glam and num-traits