checkmail 0.1.1

A Simple Email Validation Library
Documentation
  • Coverage
  • 50%
    1 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 5.63 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.18 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 18s Average build duration of successful builds.
  • all releases: 18s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • ishanjain28/checkmail
    3 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ishanjain28

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