Cargo Features

vek = { version = "0.16.1", default-features = false, features = ["std", "vec64", "rgba", "uvw", "repr_simd", "platform_intrinsics", "libm", "image", "mint", "bytemuck", "az"] }
default = repr_simd, rgb, rgba, std

These default features are set whenever vek is added without default-features = false somewhere in the dependency tree.

std default

Enables std of num-traits and 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 default

Affects bezier::repr_simd, geom::repr_simd, mat::repr_simd, quaternion::repr_simd, transform::repr_simd, vec::repr_simd


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


Imaging library. Provides basic image processing and encoders/decoders for common image formats.

serde std
mint implicit feature

Enables mint


Math interoperability standard types

bytemuck implicit feature

Enables bytemuck


A crate for mucking around with piles of bytes

az implicit feature

Enables az


Casts and checked casts