Cargo Features

[dependencies]
machine-prime = { version = "1.5.2", default-features = false, features = ["lucas", "table", "ssmr", "wide", "internal"] }
lucas

Adds Trial division and Lucas table

Affects primes::LUCAS_PARAM, primes::INV_8, primes::PRIME_INV_64

table default

Swaps Lucas with hashtable

Affects check::base_selector, hashbase::FERMAT_TABLE, primes::INV_8, primes::PRIME_INV_64

ssmr

Single shot branching

Affects check::base_selector, hashbase::FERMAT_TABLE, primes::INV_8, primes::PRIME_INV_64

wide

128-bit primality

internal

Exposes internal functions

default = table

The table feature is set by default whenever machine-prime is added without default-features = false somewhere in the dependency tree.