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 whenevercust
is added without
somewhere in the dependency tree.default-features = false - impl_glam = glam
- impl_mint = mint
- impl_vek = vek
- impl_half
- 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