Cargo Features

[dependencies]
cust = { version = "0.3.2", default-features = false, features = ["impl_glam", "impl_mint", "impl_vek", "impl_half", "impl_num_complex", "bytemuck"] }
default = bytemuck

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

impl_glam = glam

Enables glam of cust_core

impl_mint = mint

Enables mint of cust_core

impl_vek = vek

Enables vek of cust_core

impl_half

Enables half of cust_core

impl_num_complex = num-complex

Enables num-complex of cust_core

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

glam impl_glam?

Enables glam ^0.20

mint impl_mint?
num-complex impl_num_complex?
vek impl_vek?

Enables vek ^0.15.1

bytemuck default