#email #address #validator

emailx

Robust email syntax and deliverability validation

1 unstable release

0.1.0 Aug 16, 2018

#66 in Email

Download history 1/week @ 2018-10-21 5/week @ 2018-11-04 4/week @ 2018-11-11 8/week @ 2018-11-18 2/week @ 2018-11-25 7/week @ 2018-12-02 3/week @ 2018-12-09 2/week @ 2018-12-16 2/week @ 2018-12-23 4/week @ 2018-12-30 4/week @ 2019-01-13

4 downloads per month

MIT/Apache

7KB
61 lines

emailx

Robust email syntax and deliverability validation for Rust.

Usage

[dependencies]
emailx = "0.1"
use emailx;

// [...]

emailx::validate("user@domain").map(|is_valid| {
    // Checks against a very simple regex 
    // Checks for at least 1 MX record
})

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in futures-rs by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~10MB
~176K SLoC