[package]
name = "small_is_prime"
version = "0.1.0"
edition = "2024"
license = "MIT OR Apache-2.0"
description = "primality tests for the primitive integer types"
repository = "https://github.com/m-mueller678/small_is_prime"
readme = "readme.md"
keywords = ["prime", "miller-rabin", "number-theory"]
categories = ["no-std::no-alloc","mathematics"]
exclude = [
    "bench.sh",
]

[dependencies]
num-modular = "0.6.1"

[dev-dependencies]
rand = {version="0.10.1",default-features = false}
rand_xoshiro = {version = "0.8"}
num-bigint-dig = {version = "0.9.1",features = ["prime"]}
criterion = "0.5"

[profile.test]
opt-level = 3

[[bench]]
name = "is_prime_bench"
harness = false
