Skip to content

ynuwenhof/dispo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dispo

crates.io docs.rs License

A disposable email checker utilizing a Bloom filter.

  • Lightweight
  • Probabilistic
  • Blazingly fast 🚀
  • Backed by mailchecker's email blacklist

⚠️ Due to the nature of probabilistic data structures, is_valid or is_valid_domain might return false even though a domain is not on the blacklist.

Usage

[dependencies]
dispo = "0.1.0"
fn main() {
    let x = dispo::is_valid("alice@example.com");
    assert_eq!(x, true);

    let x = dispo::is_valid_domain("tempmail.de");
    assert_eq!(x, false);
}

License

This project is licensed under either of the following licenses, at your option: