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

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

mint implicit feature
rand implicit feature

With small_rng and default features

serde implicit feature

With serde_derive and default (std)