Crate dispo

source ·
Expand description

A disposable email checker utilizing a Bloom filter.

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

Usage

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

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

Functions

  • Returns true if the email has a valid format and is not disposable.
  • Returns true if the domain is not disposable, doesn’t check if the domain itself has a valid format.