Cargo Features

[dependencies]
pimalaya-email-tpl = { version = "0.4.0", default-features = false, features = ["compiler", "interpreter", "pgp", "pgp-commands", "pgp-gpg", "pgp-native"] }
default = compiler, interpreter

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

compiler default = chumsky, shellexpand, tree_magic

Affects body::compiler, message::compiler

interpreter default = nanohtml2text

Affects body::interpreter, message::interpreter

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

Affects pimalaya-email-tpl::pgp

pgp-commands pgp? = pgp, process-lib

Affects pgp::cmds

pgp-gpg = gpgme, pgp

Affects pgp::gpg

pgp-native = keyring-lib, pgp, pgp-lib, secret-lib, shellexpand

Affects pgp::native

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.

chumsky not win win compiler
gpgme pgp-gpg?
keyring-lib pgp-native?

Enables keyring-lib =0.1.0

nanohtml2text interpreter

Enables nanohtml2text ^0.1

pgp-lib pgp-native?
process-lib pgp-commands?

Enables process-lib =0.1.0

secret-lib pgp-native?

Enables secret-lib =0.1.0

tree_magic compiler
shellexpand compiler pgp-native?

Enables shellexpand ^2.1