Cargo Features

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 whenever simba is added without default-features = false somewhere in the dependency tree.

std default

Enables std of wide


Activate std within the crate. Currently this gives a much faster sqrt impl when an explicit hardware sqrt isn't available.

partial_fixed_point_support = cordic, fixed
serde_serialize = serde

Enables serde of fixed

rkyv-serialize = rkyv

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 floating point arithmetic for Rust

packed_simd implicit feature

Enables 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


Random number generators and other randomness functionality

serde serde_serialize?
rkyv rkyv-serialize?
libm_force implicit feature

Enables libm


libm in pure Rust

cuda_std cuda?
cust_core cuda?