1
2
3
4
5
6
7
8
9
//! Check some primality-related properties of numbers.
//!
//! This crate is designed to be used via `primal`.

pub use crate::is_prime::miller_rabin;
pub use crate::perfect_power::{as_perfect_power, as_prime_power};

mod perfect_power;
mod is_prime;