Cargo Features
[dependencies]
mech-core = { version = "0.2.25", default-features = false, features = ["no-std", "stdlib", "parallel", "wasm", "signed-ints", "unsigned-ints", "floats", "Bool", "U64", "U128", "I64", "I128", "F64", "matrix", "fixed-row-vector", "fixed-vector", "fixed-matrix", "RowVector2", "Vector2", "Matrix1", "Matrix3x2", "MatrixD", "time"] }
- default = parallel, stdlib
-
These default features are set whenever
mech-core
is added without
somewhere in the dependency tree.default-features = false - no-std = rlibc
- stdlib default = Bool, floats, matrix, signed-ints, unsigned-ints
-
Affects
function::math_update
,function::stats
,function::set
… - parallel default = rayon
-
Affects
table::ParCopyVV
,table::ParSetVVB
,table::ParSetVV
,table::ParSetVS
,table::ParSetVSB
… - wasm = wasm-bindgen, web-sys
-
Affects
capabilities::generate_uuid
,capabilities::generate_keypair
… - signed-ints stdlib = I16, I32, I64, I8
- unsigned-ints stdlib = U16, U32, U64, U8
- floats stdlib = F32, F64
- Bool stdlib
- U8 U16 U32 U64 unsigned-ints?
- U128
- I8 I16 I32 I64 signed-ints?
- I128
- F32 F64 floats?
- matrix stdlib = MatrixD, RowVectorD, VectorD, fixed-matrix, fixed-row-vector, fixed-vector
- fixed-row-vector matrix? = RowVector2, RowVector3, RowVector4
- fixed-vector matrix? = Vector2, Vector3, Vector4
- fixed-matrix matrix? = Matrix1, Matrix2, Matrix2x3, Matrix3, Matrix3x2, Matrix4
- RowVector4 RowVector3 RowVector2 fixed-row-vector?
- Vector4 Vector3 Vector2 fixed-vector?
- Matrix4 Matrix3 Matrix2 Matrix1 fixed-matrix?
- Matrix2x3 Matrix3x2 fixed-matrix?
- RowVectorD VectorD MatrixD matrix?
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.