#validation #address

emailx

Robust email syntax and deliverability validation

1 unstable release

Uses old Rust 2015

0.1.0 Aug 16, 2018

#40 in #validator

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

~16MB
~305K SLoC