Cargo Features

[dependencies]
num-prime = { version = "0.4.4", default-features = false, features = ["big-table", "big-int"] }
default = big-int, big-table

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

big-table default

Affects nt_funcs::is_prime64, nt_funcs::next_prime, nt_funcs::prev_prime, nt_funcs::prime_pi_est, tables::SMALL_PRIMES, tables::SMALL_PRIMES_NEXT, tables::SMALL_PRIMES_INV, tables::MILLER_RABIN_BASE32, tables::MILLER_RABIN_BASE64, tables::ZETA_LOG_TABLE, tables::WHEEL_SIZE, tables::WHEEL_NEXT, tables::WHEEL_PREV, tables::QUAD_MODULI, tables::QUAD_RESIDUAL, tables::CUBIC_MODULI, tables::CUBIC_RESIDUAL

big-int default = num-bigint

TODO: use the new cargo feature to override the num-bigint option

Enables num-bigint of num-modular ^0.5.0

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-bigint big-int