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 wheneverlin_alg
is added without
somewhere in the dependency tree.default-features = false - 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.