Cargo Features

bnum has no features set by default.

[dependencies]
bnum = { version = "0.11.0", features = ["nightly", "serde", "numtraits", "rand", "zeroize", "quickcheck", "valuable", "arbitrary"] }
nightly
serde = serde-big-array

Enables serde

numtraits = num-integer, num-traits

Affects int::numtraits

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.

num-integer numtraits?
num-traits numtraits?
serde-big-array serde?
rand implicit feature

Enables rand

ideally, this would be an optional feature, but since it is used by quickcheck anyway, it does not matter too much

Affects bnum::random

zeroize implicit feature
quickcheck implicit feature

Enables quickcheck

quickcheck:

Automatic property based testing with shrinking

valuable implicit feature

Enables valuable

valuable:

Object-safe value inspection, used to pass un-typed structured data across trait-object boundaries

arbitrary implicit feature

Enables arbitrary

arbitrary:

The trait for generating structured data from unstructured data