[package] name = "himalaya" description = "CLI to manage emails" version = "1.0.0" authors = ["soywod "] edition = "2021" license = "MIT" categories = ["command-line-utilities", "email"] keywords = ["cli", "email", "imap", "maildir", "smtp"] homepage = "https://pimalaya.org/" documentation = "https://github.com/pimalaya/himalaya/" repository = "https://github.com/pimalaya/himalaya/" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs", "--document-private-items"] [features] default = [ "imap", "maildir", #"notmuch", "smtp", #"sendmail", #"keyring", #"oauth2", "wizard", #"pgp-commands", #"pgp-gpg", #"pgp-native", ] imap = ["email-lib/imap", "pimalaya-tui/imap"] maildir = ["email-lib/maildir", "pimalaya-tui/maildir"] notmuch = ["email-lib/notmuch", "pimalaya-tui/notmuch"] smtp = ["email-lib/smtp", "pimalaya-tui/smtp"] sendmail = ["email-lib/sendmail", "pimalaya-tui/sendmail"] keyring = ["email-lib/keyring", "pimalaya-tui/keyring", "secret-lib/keyring"] oauth2 = ["dep:oauth-lib", "email-lib/oauth2", "pimalaya-tui/oauth2", "keyring"] wizard = ["dep:email_address", "email-lib/autoconfig", "pimalaya-tui/wizard"] pgp = [] pgp-commands = ["email-lib/pgp-commands", "mml-lib/pgp-commands", "pimalaya-tui/pgp-commands", "pgp"] pgp-gpg = ["email-lib/pgp-gpg", "mml-lib/pgp-gpg", "pimalaya-tui/pgp-gpg", "pgp"] pgp-native = ["email-lib/pgp-native", "mml-lib/pgp-native", "pimalaya-tui/pgp-native", "pgp"] [dependencies] ariadne = "0.2" async-trait = "0.1" clap = { version = "4.4", features = ["derive", "env", "wrap_help"] } clap_complete = "4.4" clap_mangen = "0.2" color-eyre = "0.6" comfy-table = "7.1" crossterm = { version = "0.27", features = ["serde"] } dirs = "4" email-lib = { version = "1", default-features = false, features = ["tokio-rustls", "derive", "thread"] } email_address = { version = "0.2", optional = true } mail-builder = "0.3" md5 = "0.7" mml-lib = { version = "1", default-features = false, features = ["derive"] } oauth-lib = { version = "1", optional = true } once_cell = "1.16" petgraph = "0.6" pimalaya-tui = { version = "1", default-features = false, features = ["email", "path", "cli", "himalaya", "tracing", "sled"] } process-lib = { version = "1", features = ["derive"] } secret-lib = { version = "1", default-features = false, features = ["tokio", "rustls", "command", "derive"] } serde = { version = "1", features = ["derive"] } serde_json = "1" shellexpand-utils = "=0.2.1" tokio = { version = "1.23", default-features = false, features = ["macros", "rt-multi-thread"] } toml = "0.8" tracing = "0.1" url = "2.2" uuid = { version = "0.8", features = ["v4"] } [patch.crates-io] # IMAP imap-codec = { git = "https://github.com/duesee/imap-codec" } imap-next = { git = "https://github.com/duesee/imap-next" } imap-client = { git = "https://github.com/pimalaya/imap-client" } # Pimalaya core email-lib = { git = "https://github.com/pimalaya/core" } mml-lib = { git = "https://github.com/pimalaya/core" } oauth-lib = { git = "https://github.com/pimalaya/core" } process-lib = { git = "https://github.com/pimalaya/core" } secret-lib = { git = "https://github.com/pimalaya/core" } # Pimalaya non-core pimalaya-tui = { git = "https://github.com/pimalaya/tui" }