2 releases

Uses old Rust 2015

0.1.1 Oct 18, 2017
0.1.0 Oct 18, 2017

#295 in #email

MIT license

3KB

checkmail

A Simple Email Validation Library in Rust. See this for more information.

Usage

checkmail = "0.1.1"

Example

extern crate checkmail;

fn main() {
    let email = String::from("abc+xyz@example.com");

    let result = checkmail::validate_email(&email);

    if result {
        println!("Email is Valid");
    } else {
        println!("Email is invalid");
    }
}

License

MIT

Dependencies

~3.5MB
~72K SLoC