pata 0.0.1

A fast, lightweight, and evidence-driven email validation library for Rust
Documentation
#[cfg(test)]
pub(super) const COUNT: usize = ROLES.len();

const ROLES: [&str; 26] = [
    "abuse",
    "admin",
    "billing",
    "compliance",
    "contact",
    "customerservice",
    "ftp",
    "help",
    "hostmaster",
    "info",
    "legal",
    "marketing",
    "news",
    "no-reply",
    "noc",
    "noreply",
    "office",
    "postmaster",
    "privacy",
    "root",
    "sales",
    "security",
    "support",
    "uucp",
    "webmaster",
    "www",
];

pub(super) fn contains(local: &str) -> bool {
    ROLES.binary_search(&local).is_ok()
}