email-address-list
Relatively naïve Pest based parser, picking out "contacts"
from "email address lists" found in headers such as from
, to
, cc
, etc.
This library aims to be practical rather than "correct". It is (potentially excessively) permissive in parsing even the worst garbage in everyone's inbox. Limited testing with real world data was done, but the grammar probably still needs work to catch more edge cases.
Since this library is quite young, the API might change in $version + 0.1
releases, but minor ones won't break compatibility.
Example
use *;
let manual: AddressList = vec!.into;
let result = parse_address_list.unwrap;
assert!;
For further information, please see the documentation.
Thanks
- The big list of naughty strings makes testing with horrible input a bit less tedious. 🎊