mail-parser icon indicating copy to clipboard operation
mail-parser copied to clipboard

Delay creation of HeaderValues

Open sftse opened this issue 5 months ago • 0 comments

Some of the lower-level apis would benefit from returning the more precise type instead of eagerly wrapping into a HeaderValue. This makes the lower-level apis easier to reason about and improves code completion in an IDE. With this change, the fn unwrap_{received, datetime, text, ...} are no longer internally used.

sftse avatar Jun 28 '25 14:06 sftse