mailrs-imap-codec 1.0.0
Tokio Decoder/Encoder for the RFC 9051 IMAP wire format — handles both line mode (CRLF-terminated commands and responses) and literal mode (raw byte-counted payloads, used for APPEND, FETCH BODY[], etc.). Stateful: caller toggles literal mode with `expect_literal(size)` after parsing a `{N}` literal marker.