mirror of
https://github.com/soywod/himalaya.git
synced 2024-11-22 02:50:19 +00:00
154 lines
No EOL
5 KiB
TOML
154 lines
No EOL
5 KiB
TOML
[package]
|
|
name = "himalaya"
|
|
description = "CLI to manage emails"
|
|
version = "1.0.0-beta.2"
|
|
authors = ["soywod <clement.douin@posteo.net>"]
|
|
edition = "2021"
|
|
license = "MIT"
|
|
categories = ["command-line-interface", "command-line-utilities", "email"]
|
|
keywords = ["cli", "email", "imap", "smtp", "sync"]
|
|
homepage = "https://pimalaya.org/"
|
|
documentation = "https://pimalaya.org/himalaya/cli/latest/"
|
|
repository = "https://github.com/soywod/himalaya/"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[features]
|
|
# features documentation:
|
|
# https://pimalaya.org/himalaya/cli/latest/installation.html#cargo
|
|
default = [
|
|
"wizard",
|
|
|
|
"imap",
|
|
"maildir",
|
|
# "notmuch",
|
|
"smtp",
|
|
"sendmail",
|
|
|
|
"account",
|
|
"folder",
|
|
"envelope",
|
|
"flag",
|
|
"message",
|
|
"attachment",
|
|
"template",
|
|
|
|
# "pgp-commands", # enable PGP based on shell commands
|
|
# "pgp-gpg", # enable
|
|
# "pgp-native",
|
|
]
|
|
|
|
wizard = ["autoconfig"]
|
|
|
|
imap = ["email-lib/imap"]
|
|
maildir = ["email-lib/maildir"]
|
|
notmuch = ["email-lib/notmuch"]
|
|
smtp = ["email-lib/smtp"]
|
|
sendmail = ["email-lib/sendmail"]
|
|
|
|
account = ["account-configure", "account-list", "account-sync"]
|
|
account-subcmd = []
|
|
account-configure = ["account-subcmd"]
|
|
account-list = ["account-subcmd"]
|
|
account-sync = ["account-subcmd", "email-lib/sync"]
|
|
folder = ["folder-add", "folder-list", "folder-expunge", "folder-purge", "folder-delete"]
|
|
folder-subcmd = []
|
|
folder-add = ["folder-subcmd", "email-lib/folder-add"]
|
|
folder-list = ["folder-subcmd", "email-lib/folder-list"]
|
|
folder-expunge = ["folder-subcmd", "email-lib/folder-expunge"]
|
|
folder-purge = ["folder-subcmd", "email-lib/folder-purge"]
|
|
folder-delete = ["folder-subcmd", "email-lib/folder-delete"]
|
|
envelope = ["envelope-list", "envelope-watch", "envelope-get"]
|
|
envelope-subcmd = []
|
|
envelope-list = ["envelope-subcmd", "email-lib/envelope-list"]
|
|
envelope-watch = ["envelope-subcmd", "email-lib/envelope-watch"]
|
|
envelope-get = ["envelope-subcmd", "email-lib/envelope-get"]
|
|
flag = ["flag-add", "flag-set", "flag-remove"]
|
|
flag-subcmd = []
|
|
flag-add = ["flag-subcmd", "email-lib/flag-add"]
|
|
flag-set = ["flag-subcmd", "email-lib/flag-set"]
|
|
flag-remove = ["flag-subcmd", "email-lib/flag-remove"]
|
|
message = ["message-read", "message-write", "message-mailto", "message-reply", "message-forward", "message-save", "message-send", "message-copy", "message-move", "message-delete"]
|
|
message-subcmd = []
|
|
message-add = ["email-lib/message-add"]
|
|
message-peek = ["email-lib/message-peek"]
|
|
message-get = ["email-lib/message-get"]
|
|
message-copy = ["message-subcmd", "email-lib/message-copy"]
|
|
message-move = ["message-subcmd", "email-lib/message-move"]
|
|
message-delete = ["message-subcmd", "email-lib/message-delete"]
|
|
message-read = ["message-add", "message-peek", "message-get"]
|
|
message-write = ["message-add", "message-send"]
|
|
message-mailto = ["message-add", "message-send"]
|
|
message-reply = ["message-get", "message-add", "message-send"]
|
|
message-forward = ["message-get", "message-add", "message-send"]
|
|
message-save = ["message-add"]
|
|
message-send = ["message-subcmd", "email-lib/message-send"]
|
|
attachment = ["attachment-download"]
|
|
attachment-subcmd = []
|
|
attachment-download = ["attachment-subcmd", "message-read"]
|
|
template = ["template-write", "template-reply", "template-forward", "template-save", "template-send"]
|
|
template-subcmd = []
|
|
template-write = ["template-subcmd"]
|
|
template-reply = ["template-subcmd", "email-lib/message-get"]
|
|
template-forward = ["template-subcmd", "email-lib/message-get"]
|
|
template-save = ["template-subcmd", "email-lib/message-add"]
|
|
template-send = ["template-subcmd", "email-lib/message-send"]
|
|
|
|
pgp = []
|
|
pgp-commands = ["email-lib/pgp-commands", "mml-lib/pgp-commands", "pgp"]
|
|
pgp-gpg = ["email-lib/pgp-gpg", "mml-lib/pgp-gpg", "pgp"]
|
|
pgp-native = ["email-lib/pgp-native", "mml-lib/pgp-native", "pgp"]
|
|
|
|
[dev-dependencies]
|
|
async-trait = "0.1"
|
|
tempfile = "3.3"
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
async-trait = "0.1"
|
|
autoconfig = { version = "0.4", optional = true }
|
|
chrono = "0.4.24"
|
|
clap = { version = "4.4", features = ["derive"] }
|
|
clap_complete = "4.4"
|
|
clap_mangen = "0.2"
|
|
console = "0.15.2"
|
|
dialoguer = "0.10.2"
|
|
dirs = "4.0"
|
|
email-lib = { version = "=0.20.0", default-features = false }
|
|
email_address = "0.2.4"
|
|
env_logger = "0.8"
|
|
erased-serde = "0.3"
|
|
indicatif = "0.17"
|
|
keyring-lib = "=0.3.2"
|
|
log = "0.4"
|
|
mail-builder = "0.3"
|
|
md5 = "0.7.0"
|
|
mml-lib = { version = "=1.0.6", default-features = false }
|
|
oauth-lib = "=0.1.0"
|
|
once_cell = "1.16"
|
|
process-lib = "=0.3.0"
|
|
secret-lib = "=0.3.2"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
shellexpand-utils = "=0.2.0"
|
|
termcolor = "1.1"
|
|
terminal_size = "0.1"
|
|
tokio = { version = "1.23", default-features = false, features = ["macros", "rt-multi-thread"] }
|
|
toml = "0.7.4"
|
|
toml_edit = "0.19.8"
|
|
unicode-width = "0.1"
|
|
url = "2.2"
|
|
uuid = { version = "0.8", features = ["v4"] }
|
|
|
|
[target.'cfg(target_env = "musl")'.dependencies.rusqlite]
|
|
version = "0.29"
|
|
features = []
|
|
|
|
[target.'cfg(not(target_env = "musl"))'.dependencies.rusqlite]
|
|
version = "0.29"
|
|
features = ["bundled"]
|
|
|
|
[target.'cfg(not(windows))'.dependencies.coredump]
|
|
version = "=0.1.2" |