Cargo Features

[dependencies]
glamour = { version = "0.15.0", default-features = false, features = ["std", "scalar-math", "serde", "core-simd", "mint", "libm", "encase", "wasmtime"] }
default = std

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

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

Enables serde, serde of glam

Affects marker::Serializable

core-simd

Enables core-simd of glam

glam:

experimental nightly portable-simd support

mint

Enable conversions to mint types

Enables mint, mint of glam

libm

Required for compiling without std.

Enables libm of glam and num-traits

Features from optional dependencies

encase implicit feature
wasmtime not wasm32 implicit feature

Enables wasmtime ^25.0

wasmtime:

High-level API to expose the Wasmtime runtime

Affects marker::WasmComponentType