Crate dispo

Crate dispo 

Source
Expand description

A disposable email checker utilizing a Bloom filter.

§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§

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