const-primes 0.9.5

Work with prime numbers in const contexts. Prime generation, primality testing, prime counting, and more.
Documentation
[[bench]]
harness = false
name = "prime_benches"
path = "benches/prime_benches.rs"

[dependencies.rkyv]
default-features = false
optional = true
version = "0.8"

[dependencies.serde]
default-features = false
features = ["derive"]
optional = true
version = "1.0"

[dependencies.serde_arrays]
optional = true
version = "0.1.0"

[dependencies.zerocopy]
default-features = false
features = ["derive"]
optional = true
version = "0.8"

[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"

[dev-dependencies.rand]
default-features = false
features = ["small_rng"]
version = "0.8"

[dev-dependencies.serde_json]
version = "1.0"

[features]
rkyv = ["dep:rkyv"]
serde = ["dep:serde", "dep:serde_arrays"]
zerocopy = ["dep:zerocopy"]

[lib]
name = "const_primes"
path = "src/lib.rs"

[package]
authors = ["Johanna Sörngård <jsorngard@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
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."
documentation = "https://docs.rs/const-primes"
edition = "2021"
keywords = ["const", "primes", "no_std", "prime-numbers"]
license = "MIT OR Apache-2.0"
name = "const-primes"
readme = "README.md"
repository = "https://github.com/JSorngard/const-primes/"
rust-version = "1.81.0"
version = "0.9.5"

[package.metadata.docs.rs]
all-features = true