[package]
name = "const-primes"
authors = ["Johanna Sörngård <jsorngard@gmail.com>"]
version = "0.9.5"
edition = "2021"
license = "MIT OR Apache-2.0"
keywords = ["const", "primes", "no_std", "prime-numbers"]
categories = ["mathematics", "no-std", "no-std::no-alloc", "algorithms"]
description = "Work with prime numbers in const contexts. Prime generation, primality testing, prime counting, and more."
repository = "https://github.com/JSorngard/const-primes/"
documentation = "https://docs.rs/const-primes"
rust-version = "1.81.0"
[dependencies]
serde = { version = "1.0", default-features = false, features = ["derive"], optional = true }
serde_arrays = { version = "0.1.0", optional = true }
zerocopy = { version = "0.8", default-features = false, features = ["derive"], optional = true }
rkyv = { version = "0.8", default-features = false, optional = true }
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
rand = { version = "0.8", default-features = false, features = ["small_rng"] }
serde_json = "1.0"
[features]
serde = ["dep:serde", "dep:serde_arrays"]
zerocopy = ["dep:zerocopy"]
rkyv = ["dep:rkyv"]
[package.metadata.docs.rs]
all-features = true
[[bench]]
name = "prime_benches"
harness = false