himalaya/Cargo.toml

87 lines
3 KiB
TOML
Raw Normal View History

2022-09-22 14:38:38 +00:00
[package]
name = "himalaya"
description = "CLI to manage emails"
2024-08-09 10:03:23 +00:00
version = "1.0.0"
2022-09-22 14:38:38 +00:00
authors = ["soywod <clement.douin@posteo.net>"]
edition = "2021"
2022-10-10 16:06:13 +00:00
license = "MIT"
2024-08-09 10:03:23 +00:00
categories = ["command-line-utilities", "email"]
keywords = ["cli", "email", "imap", "maildir", "smtp"]
homepage = "https://pimalaya.org/"
2024-09-08 18:35:50 +00:00
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"]
2022-09-22 14:38:38 +00:00
[features]
default = [
"imap",
"maildir",
#"notmuch",
"smtp",
2024-10-24 13:21:13 +00:00
#"sendmail",
#"keyring",
#"oauth2",
2024-08-30 10:13:06 +00:00
"wizard",
#"pgp-commands",
#"pgp-gpg",
#"pgp-native",
]
2024-08-30 10:13:06 +00:00
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"]
2024-10-24 13:21:13 +00:00
keyring = ["email-lib/keyring", "pimalaya-tui/keyring", "secret-lib/keyring"]
oauth2 = ["email-lib/oauth2", "pimalaya-tui/oauth2", "keyring"]
wizard = ["email-lib/autoconfig", "pimalaya-tui/wizard"]
pgp = []
2024-10-24 13:21:13 +00:00
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"]
2023-08-28 07:04:13 +00:00
[dependencies]
2024-02-28 08:09:03 +00:00
ariadne = "0.2"
2024-08-09 10:03:23 +00:00
clap = { version = "4.4", features = ["derive", "env", "wrap_help"] }
clap_complete = "4.4"
clap_mangen = "0.2"
2024-09-08 18:35:50 +00:00
color-eyre = "0.6"
2024-10-24 13:21:13 +00:00
email-lib = { version = "1", default-features = false, features = ["tokio-rustls", "derive", "thread"] }
mail-builder = "0.3"
2024-10-24 13:21:13 +00:00
mml-lib = { version = "1", default-features = false, features = ["derive"] }
once_cell = "1.16"
2024-10-24 13:21:13 +00:00
pimalaya-tui = { version = "1", default-features = false, features = ["email", "path", "cli", "himalaya", "tracing", "sled"] }
secret-lib = { version = "1", default-features = false, features = ["tokio", "rustls", "command", "derive"] }
serde = { version = "1", features = ["derive"] }
2024-02-25 08:07:40 +00:00
serde_json = "1"
2024-04-07 09:42:34 +00:00
shellexpand-utils = "=0.2.1"
tokio = { version = "1.23", default-features = false, features = ["macros", "rt-multi-thread"] }
toml = "0.8"
2024-09-08 18:35:50 +00:00
tracing = "0.1"
url = "2.2"
uuid = { version = "0.8", features = ["v4"] }
2024-05-14 16:19:39 +00:00
[patch.crates-io]
# IMAP
2024-10-24 13:21:13 +00:00
imap-codec = { git = "https://github.com/duesee/imap-codec" }
2024-09-08 18:35:50 +00:00
imap-next = { git = "https://github.com/duesee/imap-next" }
imap-client = { git = "https://github.com/pimalaya/imap-client" }
# Pimalaya core
2024-10-24 13:21:13 +00:00
email-lib = { git = "https://github.com/pimalaya/core" }
http-lib = { git = "https://github.com/pimalaya/core" }
keyring-lib = { git = "https://github.com/pimalaya/core" }
2024-10-24 13:21:13 +00:00
mml-lib = { git = "https://github.com/pimalaya/core" }
2024-08-30 10:13:06 +00:00
oauth-lib = { git = "https://github.com/pimalaya/core" }
pgp-lib = { git = "https://github.com/pimalaya/core" }
2024-09-04 09:55:32 +00:00
process-lib = { git = "https://github.com/pimalaya/core" }
secret-lib = { git = "https://github.com/pimalaya/core" }
2024-10-24 13:21:13 +00:00
# Pimalaya non-core
pimalaya-tui = { git = "https://github.com/pimalaya/tui" }