A Simple Email Validation Library in Rust. See this for more information.
checkmail = "0.1.1"
extern crate checkmail;
fn main() {
let email = String::from("[email protected]");
let result = checkmail::validate_email(&email);
if result {
println!("Email is Valid");
} else {
println!("Email is invalid");
}
}
MIT