As discussed by email with @jonhoo, some new IMAP libraries are really promising and may replace imap over time:
imap-types and imap-codec: they can be considered a direct replacement of imap-proto. They provide solid types and codecs for dealing with IMAP requests and responses.
imap-next: a thin sans I/O abstraction over IMAP's distinct protocol flows, based on imap-{types,codec}.
imap-client: a direct replacement of imap. While it is already used in production by Himalaya CLI, it is not advised to use it yet as the API is not well defined nor documented. It may evolve towards a sans I/O structure. In this case, imap would become a first standard (blocking) I/O connector of imap-client. It would also open doors to async IMAP (tokio, async-std, smol etc).
I just initiate the thread now so we can discuss more about it when the final imap-client API design will start (within few months).
As discussed by email with @jonhoo, some new IMAP libraries are really promising and may replace
imapover time:imap-typesandimap-codec: they can be considered a direct replacement ofimap-proto. They provide solid types and codecs for dealing with IMAP requests and responses.imap-next: a thin sans I/O abstraction over IMAP's distinct protocol flows, based onimap-{types,codec}.imap-client: a direct replacement ofimap. While it is already used in production by Himalaya CLI, it is not advised to use it yet as the API is not well defined nor documented. It may evolve towards a sans I/O structure. In this case,imapwould become a first standard (blocking) I/O connector ofimap-client. It would also open doors to async IMAP (tokio, async-std, smol etc).I just initiate the thread now so we can discuss more about it when the final
imap-clientAPI design will start (within few months).