Cargo Features

[dependencies]
email-lib = { version = "0.26.2", default-features = false, features = ["full", "imap", "maildir", "notmuch", "smtp", "sendmail", "autoconfig", "derive", "keyring", "notify", "oauth2", "sync", "thread", "watch", "pgp", "pgp-commands", "pgp-gpg", "pgp-native", "tokio-rustls", "tokio-native-tls", "tokio", "async-std", "rustls", "native-tls", "vendored"] }
default = tokio-rustls

The tokio-rustls feature is set by default whenever email-lib is added without default-features = false somewhere in the dependency tree.

full = autoconfig, derive, imap, keyring, maildir, notify, notmuch, oauth2, pgp-commands, pgp-gpg, pgp-native, sendmail, smtp, sync, thread, tokio-rustls, watch
imap full?

Enables imap-client, utf7-imap, sync of optional tokio

Affects add::imap, flag::imap, remove::imap, set::imap, get::imap, list::imap, email-lib::tls

maildir full? notmuch? sync?

Enables maildirs and notify ^6, sync of optional tokio

Affects add::maildir, flag::maildir, remove::maildir, set::maildir, get::maildir, list::maildir

notmuch full? = maildir

Enables notmuch

Affects add::notmuch, flag::notmuch, remove::notmuch, set::notmuch, get::notmuch, list::notmuch

smtp full?

Enables mail-send, sync of optional tokio

Affects send::smtp, email-lib::smtp, email-lib::tls

sendmail full?

Affects send::sendmail, email-lib::sendmail

autoconfig full?

Enables email_address, hickory-resolver, http-lib, serde, and serde-xml-rs

Affects email-lib::autoconfig

derive full?

Enables serde, serde of chrono and derive of mml-lib, process-lib, secret-lib, and optional keyring-lib

keyring-lib:

Serde (de)serialization

Affects pgp::derive, config::ImapAuthConfigDerive, config::SmtpAuthConfigDerive, tls::derive

keyring full?

Enables keyring of mml-lib and secret-lib

notify full?

Enables notify-rust

oauth2 full?

Enables oauth-lib

Affects config::oauth2

sync full? = maildir

Enables advisory-lock and dirs ^4.0

Affects config::AccountConfig.sync, account::sync, context::BackendContextBuilder.try_to_sync_cache_builder, config::EnvelopeConfig.sync, config::FlagConfig.sync, flag::sync, envelope::sync, config::MessageConfig.sync, message::sync, email::sync, config::FolderConfig.sync, folder::sync

thread full?

Enables petgraph ^0.6

Affects backend::Backend.thread_envelopes, backend::BackendBuilder.thread_envelopes, config::EnvelopeConfig.thread, envelope::thread, envelope::ThreadedEnvelope

watch full?

Enables sync of optional tokio

Affects backend::Backend.watch_envelopes, backend::BackendBuilder.watch_envelopes, config::EnvelopeConfig.watch, envelope::watch

pgp pgp-commands? pgp-gpg? pgp-native?

used as internal guard

Affects config::pgp, config::AccountConfig.pgp

pgp-commands full? = pgp

Enables pgp-commands of mml-lib

Affects pgp::cmds

pgp-gpg full? = pgp

Enables pgp-gpg of mml-lib

Affects pgp::gpg

pgp-native full? = pgp

Enables keyring-lib, pgp-lib, pgp-native of mml-lib

Affects pgp::native

tokio-rustls default full? = rustls, tokio

Enables tokio-rustls and tokio-rustls of optional imap-client

imap-client:

TLS providers

tokio-native-tls = native-tls, tokio

Enables tokio-native-tls, tokio-native-tls of optional imap-client

tokio tokio-native-tls? tokio-rustls

Async runtime

Enables tokio, tokio of mml-lib, process-lib, secret-lib, optional http-lib, optional keyring-lib, and optional oauth-lib

async-std

Enables async-std, async-std of mml-lib, process-lib, secret-lib, optional http-lib, optional keyring-lib, and optional oauth-lib

rustls tokio-rustls

Rust crypto

Enables dns-over-rustls of optional hickory-resolver, rustls of mml-lib, secret-lib, optional http-lib, optional keyring-lib, and optional oauth-lib

Affects tls::Rustls

native-tls tokio-native-tls?

Enables openssl of secret-lib, dns-over-native-tls of optional hickory-resolver, native-tls of optional http-lib, openssl of optional keyring-lib, native-tls of mml-lib and optional oauth-lib

Affects tls::NativeTls

vendored

Vendored (mostly for OpenSSL)

Enables vendored of optional http-lib, optional keyring-lib, mml-lib, optional oauth-lib, secret-lib, and optional tokio-native-tls