Cargo Features
[dependencies]
maths-rs = { version = "0.2.6", default-features = false, features = ["lhs_scalar_vec_ops", "casts", "short_types", "serde", "hash"] }
- default = casts, lhs_scalar_vec_ops, short_hand_constructors, short_types
-
These default features are set whenever
maths-rs
is added without
somewhere in the dependency tree.default-features = false - short_hand_constructors lhs_scalar_vec_ops default
- casts default
- short_types default
-
Affects
maths-rs::Vec2f
… - serde = serde_json
-
Enables serde
- hash
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.