Cargo Features

[dependencies]
lin_alg = { version = "1.0.4", default-features = false, features = ["no_std", "std", "encode", "computer_graphics"] }
default = std

The std feature is set by default whenever lin_alg is added without default-features = false somewhere in the dependency tree.

no_std

Enables libm of num-traits

std default

Enables std of num-traits

encode = bincode
computer_graphics

The computer_graphics feature enables projection matrices, and other operations used in computer graphics.

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.

bincode encode?