mailparse
mailparse copied to clipboard
Support `no_std` feature
Is there any plan to support no_std feature?
It's not something I have considered. If it's not a lot of work I wouldn't be opposed to it though.
mailparse depends on three crates:
- base64 which support
no_std - staktrace/quoted-printable#9 for quoted-printabl
- hsivonen/charset seems not updated from 2 years ago.
Is there any crate instead or use hsivonen/encoding_rs directly?
I don't think there's any real alternative to use instead of charset. I used to use encoding_rs but conceptually it is a little different and hsivonen submitted https://github.com/staktrace/mailparse/pull/32 to migrate to charset. If charset doesn't support no_std you'd have to make that happen first, I guess.
I can submit a pr hsivonen/charset#5 for charset,but I don't know whether it will accept.
Closing for now. Feel free to reopen if you get the charset PR merged.