Files
himalaya/Cargo.toml
T
2026-05-20 00:53:23 +02:00

66 lines
2.2 KiB
TOML

[package]
name = "himalaya"
description = "CLI to manage emails"
version = "1.2.0"
authors = ["Clément DOUIN <pimalaya.org@posteo.net>"]
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"]
[features]
default = ["imap", "smtp", "rustls-ring"]
imap = ["dep:io-imap"]
smtp = ["dep:io-smtp"]
rustls-aws = ["dep:rustls-platform-verifier", "rustls/aws-lc-rs"]
rustls-ring = ["dep:rustls-platform-verifier", "rustls/ring"]
native-tls = ["dep:native-tls"]
vendored = ["native-tls?/vendored"]
[build-dependencies]
pimalaya-toolbox = { version = "0.0.4", default-features = false, features = ["build"] }
[dependencies]
anyhow = "1"
chrono = { version = "0.4", default-features = false }
clap = { version = "4.4", features = ["derive", "env", "wrap_help"] }
comfy-table = "7"
dirs = "6"
gethostname = "1"
html2text = "0.12"
io-imap = { version = "0.0.1", default-features = false, optional = true }
io-process = { version = "0.0.2", default-features = false }
io-smtp = { version = "0.0.1", default-features = false, features = ["ext_auth", "starttls"], optional = true }
io-stream = { version = "0.0.2", default-features = false, features = ["std"] }
log = "0.4"
mail-parser = "0.9"
native-tls = { version = "0.2", optional = true }
open = "5"
pimalaya-toolbox = { version = "0.0.4", default-features = false, features = ["config", "terminal", "secret", "command"] }
rfc2047-decoder = "1"
rustls = { version = "0.23", default-features = false, optional = true }
rustls-platform-verifier = { version = "0.6", optional = true }
secrecy = "0.10"
serde = { version = "1", features = ["derive"] }
shellexpand = "3.1"
url = { version = "2.2", features = ["serde"] }
[target.'cfg(windows)'.dependencies]
uds_windows = "1"
[patch.crates-io]
io-imap = { git = "https://github.com/pimalaya/io-imap", branch = "io" }
io-smtp.git = "https://github.com/pimalaya/io-smtp"
pimalaya-toolbox.git = "https://github.com/pimalaya/toolbox"
smtp-codec.git = "https://github.com/pimalaya/smtp-codec"