Cargo Features

[dependencies]
imap-codec = { version = "2.0.0-alpha.5", default-features = false, features = ["fuzz", "quirk", "quirk_crlf_relaxed", "quirk_id_empty_to_nil", "quirk_missing_text", "quirk_rectify_numbers", "quirk_spaces_between_addresses", "quirk_trailing_space", "arbitrary", "arbitrary_simplified", "serde", "tag_generator", "starttls", "ext_condstore_qresync", "ext_id", "ext_login_referrals", "ext_mailbox_referrals", "ext_metadata"] }
default = quirk

The quirk feature is set by default whenever imap-codec is added without default-features = false somewhere in the dependency tree.

fuzz

Expose internal parsers for fuzzing

Affects core::fuzz_tag_imap, imap-codec::fuzz

quirk default = quirk_missing_text, quirk_rectify_numbers, quirk_spaces_between_addresses, quirk_trailing_space

IMAP quirks

These features bypass interoperability issues to allow safe processing of *almost* correct message.

quirk_crlf_relaxed

Make \r in \r\n optional.

quirk_id_empty_to_nil

Encode A ID () as A ID NIL

quirk_missing_text quirk

Add missing text by adding [" "] "".

quirk_rectify_numbers quirk

Rectify (invalid) numbers.

quirk_spaces_between_addresses quirk

Accept spaces between envelope addresses in FETCH data response.

quirk_trailing_space quirk

Accept a trailing space in STATUS data response.

arbitrary

<Forward to imap-types>

Enables arbitrary of imap-types

arbitrary_simplified

Enables arbitrary_simplified of imap-types

serde

Enables serde of imap-types

tag_generator

Enables tag_generator of imap-types

starttls

IMAP

Enables starttls of imap-types

ext_condstore_qresync

Enables ext_condstore_qresync of imap-types

ext_id

Enables ext_id of imap-types

Affects extensions::id

ext_login_referrals

Enables ext_login_referrals of imap-types

ext_mailbox_referrals

Enables ext_mailbox_referrals of imap-types

ext_metadata

Enables ext_metadata of imap-types

Affects extensions::metadata

Features from optional dependencies

</Forward to imap-types>