addr-spec

A wicked, fast UTF-8 email address parser and serializer. It provides

Features

This crate supports the following features:

Caveats

Folding white spaces

Serializing folding white spaces (abbr. FWS) is not supported since it is dependent on the transport mechanism. If you need to break the address along foldable boundaries, you can use into_serialized_parts which returns serialized versions of the local part and domain.

Comments

At the moment, comments are not supported. All the utilities for parsing them do internally exist within the library, however parsing them decreases performance. If you would like support for comments, please file an issue with your use-case.