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
oris_valid_domain
might returnfalse
even though a domain is not on the blacklist.
[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);
}
This project is licensed under either of the following licenses, at your option: