Cargo Features
[dependencies]
vek = { version = "0.17.1", default-features = false, features = ["std", "vec64", "rgba", "uvw", "repr_simd", "platform_intrinsics", "libm", "image", "mint", "bytemuck", "az"] }
- default = rgb, rgba, std
-
These default features are set whenever
vek
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of num-traits and serde
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - vec8 vec16 vec32 vec64
- rgb rgba default
- uv uvw
- repr_simd
-
Affects
bezier::repr_simd
,geom::repr_simd
,mat::repr_simd
,quaternion::repr_simd
,transform::repr_simd
,vec::repr_simd
… - platform_intrinsics
- libm
-
Enables libm of num-traits
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.
- image implicit feature
-
Enables image ^0.23
image:
Imaging library. Provides basic image processing and encoders/decoders for common image formats.
- serde std
- mint implicit feature
-
Enables mint
mint:
Math interoperability standard types
- bytemuck implicit feature
-
Enables bytemuck
bytemuck:
A crate for mucking around with piles of bytes
- az implicit feature
-
Enables az
az:
Casts and checked casts