Cargo Features

[dependencies]
math_adapter = { version = "0.3.8", default-features = false, features = ["use_std", "use_alloc", "full", "default_ops", "cgmath_ops", "nalgebra_ops", "winit"] }
default = use_std

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

use_std default full?
use_alloc full?
full = use_alloc, use_std
default_ops

reuse operands and function of default math library

cgmath_ops = cgmath

reuse operands and function of cgmath as math library

nalgebra_ops = nalgebra

reuse operands and function of nalgebra as math library

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.

cgmath cgmath_ops?
nalgebra nalgebra_ops?
winit implicit feature

Enables winit

winit:

Cross-platform window creation library