Cargo Features
[dependencies]
simba = { version = "0.9.0", default-features = false, features = ["std", "portable_simd", "partial_fixed_point_support", "serde_serialize", "rkyv-serialize", "libm", "decimal", "rand", "libm_force"] }
- default = std
-
The
std
feature is set by default wheneversimba
is added without
somewhere in the dependency tree.default-features = false - std default portable_simd?
-
wide:
Activate
std
within the crate. Currently this gives a much fastersqrt
impl when an explicit hardware sqrt isn't available. - portable_simd = std
- partial_fixed_point_support = cordic, fixed
- serde_serialize = serde
- rkyv-serialize = rkyv
- libm
-
Enables libm of num-traits
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.
- decimal implicit feature
-
Enables decimal
decimal:
Decimal floating point arithmetic for Rust
- wide std
- fixed partial_fixed_point_support? serde_serialize?
- cordic partial_fixed_point_support?
- rand implicit feature
-
Enables rand
rand:
Random number generators and other randomness functionality
- serde serde_serialize?
- rkyv rkyv-serialize?
-
Enables rkyv ^0.7
- libm_force implicit feature
-
Enables libm
libm:
libm in pure Rust