Cargo Features
[dependencies]
lin_alg = { version = "1.3.13", default-features = false, features = ["no_std", "std", "encode", "cuda", "computer_graphics"] }
- default = std
-
The
stdfeature is set by default wheneverlin_algis added withoutsomewhere in the dependency tree.default-features = false - no_std
-
Enables libm of num-traits
- std default
-
Enables std of num-traits
Affects
util::linspace,util::logspace… - encode = bincode
- cuda = cudarc
- computer_graphics
-
The
computer_graphicsfeature 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.