Cargo Features

[dependencies]
num = { version = "0.4.3", default-features = false, features = ["std", "alloc", "num-bigint", "libm", "rand", "serde"] }
default = std

The std feature is set by default whenever num is added without default-features = false somewhere in the dependency tree.

std default

Enables num-bigint-std and std of num-rational, std of num-traits, std of num-bigint, num-complex, num-integer, and num-iter

Affects num::bigint

alloc

Enables num-bigint, num-bigint of num-rational

Affects num::bigint

num-bigint rand? serde?

Enables num-bigint

libm

Enables libm of num-complex and num-traits

rand

Enables rand of num-bigint and num-complex

serde

Enables serde of num-bigint, num-complex, and num-rational