Cargo Features

[dependencies]
pimalaya-tui = { version = "0.1.0", default-features = false, features = ["himalaya", "imap", "maildir", "notmuch", "smtp", "sendmail", "pgp", "pgp-commands", "pgp-gpg", "pgp-native", "cli", "email", "path", "config", "keyring", "oauth2", "tracing", "wizard", "sled"] }
default = cli, config, email, himalaya, imap, keyring, maildir, notmuch, oauth2, path, pgp-commands, pgp-gpg, pgp-native, sendmail, sled, smtp, tracing, wizard

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

himalaya default = config

Pimalaya projects

Enables async-trait and comfy-table, mml-lib, petgraph, process-lib, and serde, derive and thread of email-lib

Affects pimalaya-tui::himalaya

imap default = email

Email backends

Enables secret-lib, autoconfig and imap of email-lib

Affects backend::ContextBuilder.imap, wizard::imap

maildir default = path

Enables dirs ^4, maildir of email-lib

Affects backend::ContextBuilder.maildir, wizard::maildir

notmuch default = path

Enables notmuch of email-lib

Affects backend::ContextBuilder.notmuch, wizard::notmuch

smtp default = email

Enables secret-lib, autoconfig and smtp of email-lib

Affects backend::ContextBuilder.smtp, wizard::smtp

sendmail default

Enables sendmail of email-lib

Affects backend::ContextBuilder.sendmail, wizard::sendmail

pgp pgp-commands pgp-gpg pgp-native

PGP backends

Affects config::HimalayaTomlAccountConfig.pgp

pgp-commands default = pgp

Enables pgp-commands of optional email-lib and optional mml-lib

pgp-gpg default = pgp

Enables pgp-gpg of optional email-lib and optional mml-lib

pgp-native default = pgp

Enables pgp-native of optional email-lib and optional mml-lib

cli default

Terminal CLI shared code

Enables clap, color-eyre, serde, serde_json, and shellexpand-utils

Affects himalaya::editor, terminal::cli

email default imap smtp

Terminal prompts

Enables email_address

Affects prompt::email, validator::EmailValidator

path default maildir notmuch

Enables shellexpand-utils

Affects prompt::path

config default himalaya wizard

Other shared stuff

Enables async-trait, color-eyre, dirs ^4, serde-toml-merge, toml, toml_edit, and tracing

Affects terminal::config

keyring default

Enables keyring of optional email-lib and optional secret-lib

oauth2 default

Enables oauth-lib, oauth2 of optional email-lib

tracing default

Enables color-eyre, tracing, tracing-error, and tracing-subscriber

Affects cli::tracing, terminal::tracing

wizard default = config

Enables tokio, autoconfig of optional email-lib

Affects himalaya::wizard, config::TomlConfig.from_wizard, config::TomlConfig.pretty_serialize, terminal::wizard

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.

sled default