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