Cargo Features
[dependencies]
simba = { version = "0.8.1", default-features = false, features = ["std", "partial_fixed_point_support", "serde_serialize", "rkyv-serialize", "libm", "cuda", "decimal", "packed_simd", "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
-
wide:
Activate
std
within the crate. Currently this gives a much fastersqrt
impl when an explicit hardware sqrt isn't available. - partial_fixed_point_support = cordic, fixed
- serde_serialize = serde
- rkyv-serialize = rkyv
- libm
-
Enables libm of num-traits
- cuda = cuda_std, cust_core
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
- packed_simd implicit feature
-
Enables packed_simd_2
packed_simd_2:
Portable Packed SIMD vectors
- 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?
- libm_force implicit feature
-
Enables libm
libm:
libm in pure Rust
- cuda_std cuda?
- cust_core cuda?