Cargo Features
[dependencies]
email-parser = { version = "0.5.0", default-features = false, features = ["headers", "to", "cc", "bcc", "date", "from", "sender", "reply-to", "message-id", "in-reply-to", "references", "subject", "comments", "keywords", "trace", "compatibility-fixes", "content-disposition", "unrecognized-headers", "mime", "benchmarking"] }
- default = headers
-
The
headers
feature is set by default wheneveremail-parser
is added without
somewhere in the dependency tree.default-features = false - headers default = bcc, cc, comments, date, from, in-reply-to, keywords, message-id, references, reply-to, sender, subject, to, trace
- to headers
-
Affects
email::Email.to
… - cc headers
-
Affects
email::Email.cc
… - bcc headers
-
Affects
email::Email.bcc
… - date headers
-
Affects
email::Email.date
… - from headers
-
Affects
email::Email.from
… - sender headers
-
Affects
email::Email.sender
… - reply-to headers
-
Affects
email::Email.reply_to
… - message-id headers
-
Affects
email::Email.message_id
… - in-reply-to headers
-
Affects
email::Email.in_reply_to
… - references headers
-
Affects
email::Email.references
… - subject headers
-
Affects
email::Email.subject
… - comments headers
-
Affects
email::Email.comments
… - keywords headers
-
Affects
email::Email.keywords
… - trace headers
-
Affects
email::Email.trace
… - compatibility-fixes
- content-disposition = mime
-
Affects
mime::RawEntity.disposition
… - unrecognized-headers = mime
- mime benchmarking? content-disposition? unrecognized-headers? = textcode
-
Affects
email::Email.mime_entity
,email-parser::mime
,common::mime_unstructured
,message::parse_message
… - benchmarking = mime
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.