Cargo Features

CGMath has no features set by default.

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

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)