Cargo Features

num-bigint-dig = { version = "0.8.4", default-features = false, features = ["std", "i128", "u64_digit", "prime", "nightly", "fuzz", "zeroize"] }
default = std, u64_digit

These default features are set whenever num-bigint-dig is added without default-features = false somewhere in the dependency tree.

std default

Enables write of smallvec and std of num-integer, num-traits, rand, and serde


Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.

u64_digit default

Affects num-bigint-dig::VEC_SIZE


Enables std_rng of rand


Option (enabled by default): enable StdRng

Affects bigrand::RandPrime, num-bigint-dig::prime

fuzz = arbitrary

Enables arbitrary of smallvec

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.

rand prime? std

Affects bigint::magnitude, bigint::into_magnitude

zeroize implicit feature
serde std
arbitrary fuzz?