Skip to content

Disposable email checker utilizing a Bloom filter

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

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("[email protected]");
    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: