Cargo Features

[dependencies]
email-lib = { version = "0.24.1", default-features = false, features = ["imap", "maildir", "notmuch", "smtp", "sendmail", "account-discovery", "account-sync", "pgp", "pgp-commands", "pgp-gpg", "pgp-native", "derive"] }
default = imap, maildir, sendmail, smtp

These default features are set whenever email-lib is added without default-features = false somewhere in the dependency tree.

imap default

Enables futures, imap =3.0.0-alpha.13, imap-proto =0.16.3, and utf7-imap

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

maildir default account-sync?

Enables maildirpp =0.0.2, notify, and rayon

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

notmuch

Enables notmuch

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

smtp default

Enables mail-send

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

sendmail default

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

account-discovery

Enables email_address, futures, hickory-resolver, hyper ^0.14, hyper-rustls ^0.24, serde, and serde-xml-rs

Affects account::discover

account-sync = maildir

Enables advisory-lock, dirs ^4.0, and futures

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

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

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

pgp-commands = pgp

Enables pgp-commands of mml-lib

Affects pgp::cmds

pgp-gpg = pgp

Enables pgp-gpg of mml-lib

Affects pgp::gpg

pgp-native = keyring-lib, pgp

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

Affects pgp::native

derive

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

serde:

Provide derive(Serialize, Deserialize) macros.

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.

keyring-lib derive? pgp-native?