Cargo Features
[dependencies]
imap-codec = { version = "1.0.0", default-features = false, features = ["arbitrary", "bounded-static", "serde", "starttls", "ext_condstore_qresync", "ext_login_referrals", "ext_mailbox_referrals", "quirk_crlf_relaxed", "quirk_rectify_numbers", "quirk_missing_text"] }
- default = quirk_missing_text, quirk_rectify_numbers
-
These default features are set whenever
imap-codec
is added without
somewhere in the dependency tree.default-features = false - arbitrary
-
<Forward to imap-types>
Enables arbitrary of imap-types
- bounded-static
-
Enables bounded-static ^0.5.0, bounded-static of imap-types
Affects
decode::Decoder.decode_static
… - serde
-
Enables serde, serde of chrono and imap-types
- starttls
-
IMAP
Enables starttls of imap-types
- ext_condstore_qresync
-
IMAP Extensions
Enables ext_condstore_qresync of imap-types
- ext_login_referrals
-
Enables ext_login_referrals of imap-types
- ext_mailbox_referrals
-
Enables ext_mailbox_referrals of imap-types
- quirk_crlf_relaxed
-
</Forward to imap-types>
IMAP quirks
These features bypass interoperability issues to allow safe processing of almost correct message.
Make
\r
in\r\n
optional. - quirk_rectify_numbers default
-
Rectify (invalid) numbers. Observed in ...
- Dovecot (
-1
)
- Dovecot (
- quirk_missing_text default
-
Add missing
text
by adding [" "] "". Observed in ...- Gmail
* OK [HIGHESTMODSEQ <n>]\r\n
- Gmail