I am currently in the situation that I want to parse emails in my codebase. Or rather: I need a library that parses mail for me (and one that can be used to generate mails, but that's surprisingly not that much of a problem).
Don't be mistaken, there's mailparse and it is great although it is rather low-level. But there is also mail, lettre and even the meli project, which hand-implements a parser for mails in its codebase and also a few other mail related crates.
What is missing is a high-level library (API) where I can just dump in my
String and get a
I contacted (one of) the author(s) of the "mail" crate and talked a bit to them, ... they explained to me some of the issues they faced and the experiences they made... now I see that mail parsing or generating is not as much of a clusterfuck as I thought... no... it is waaay worse.
Who else does feel my pain, and what can we do about it? Can we join efforts with all those mail crates and create one single point of truth for the rust ecosystem? Would this even be a good idea?
Thoughts and opinions warmheartedly welcome!