Cargo Features

CGMath has no features set by default.

[dependencies]
cgmath = { version = "0.18.0", features = ["unstable", "swizzle", "mint", "rand", "serde"] }
unstable
swizzle

Features from optional dependencies

mint implicit feature

Enables mint

mint:

Math interoperability standard types

rand implicit feature

Enables rand

small_rng used only for benchmarks

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework