Skip to content

v1.3.2

Compare
Choose a tag to compare
@rushmorem rushmorem released this 05 Jan 21:21
· 165 commits to main since this release

If all you want is to do syntax checks, you can now just create an empty list to still take advantage of this library's domain and email parsing engines. Here is an example:-

let list = List::empty();

if list.parse_email("甲斐@黒川.日本").is_ok() {
  // this is a valid email address
}

If this is all you use the library for, don't forget to disable default-features in your Cargo.toml so you don't download unnecessary dependencies.