mirror of
https://git.meli.delivery/meli/meli
synced 2024-11-19 03:25:38 +00:00
77dc1d74bf
`mailer_command` was removed, and a new setting `send_mail` was added. Its possible values are a string, consisting of a shell command to execute, or settings to configure an smtp server connection. The configuration I used for testing this is: [composing] send_mail = { hostname = "smtp.mail.tld", port = 587, auth = { type = "auto", username = "yoshi", password = { type = "command_eval", value = "gpg2 --no-tty -q -d ~/.passwords/msmtp/yoshi.gpg" } }, security = { type = "STARTTLS" } } For local smtp server: [composing] send_mail = { hostname = "localhost", port = 25, auth = { type = "none" }, security = { type = "none" } }
84 lines
2.0 KiB
TOML
84 lines
2.0 KiB
TOML
[package]
|
|
name = "meli"
|
|
version = "0.5.1"
|
|
authors = ["Manos Pitsidianakis <el13635@mail.ntua.gr>"]
|
|
edition = "2018"
|
|
|
|
license = "GPL-3.0-or-later"
|
|
readme = "README"
|
|
description = "terminal mail client"
|
|
homepage = "https://meli.delivery"
|
|
repository = "https://git.meli.delivery/meli/meli.git"
|
|
keywords = ["mail", "mua", "maildir", "terminal", "imap"]
|
|
categories = ["command-line-utilities", "email"]
|
|
default-run = "meli"
|
|
|
|
[[bin]]
|
|
name = "meli"
|
|
path = "src/bin.rs"
|
|
|
|
|
|
[[bin]]
|
|
name = "managesieve"
|
|
path = "src/managesieve.rs"
|
|
|
|
[dependencies]
|
|
xdg = "2.1.0"
|
|
crossbeam = "0.7.2"
|
|
signal-hook = "0.1.12"
|
|
signal-hook-registry = "1.2.0"
|
|
nix = "0.17.0"
|
|
melib = { path = "melib", version = "0.5.0" }
|
|
|
|
serde = "1.0.71"
|
|
serde_derive = "1.0.71"
|
|
serde_json = "1.0"
|
|
toml = "0.5.3"
|
|
linkify = "0.4.0"
|
|
xdg-utils = "0.3.0"
|
|
notify = "4.0.1" # >:c
|
|
notify-rust = "^3" # >:c
|
|
termion = "1.5.1"
|
|
bincode = "1.2.0"
|
|
uuid = { version = "0.8.1", features = ["serde", "v4"] }
|
|
unicode-segmentation = "1.2.1" # >:c
|
|
libc = {version = "0.2.59", features = ["extra_traits",]}
|
|
rmp = "^0.8"
|
|
rmpv = { version = "^0.4.2", features=["with-serde",] }
|
|
rmp-serde = "^0.14.0"
|
|
smallvec = { version = "1.1.0", features = ["serde", ] }
|
|
bitflags = "1.0"
|
|
pcre2 = { version = "0.2.3", optional = true }
|
|
structopt = { version = "0.3.14", default-features = false }
|
|
svg_crate = { version = "0.8.0", optional = true, package = "svg" }
|
|
futures = "0.3.5"
|
|
async-task = "3.0.0"
|
|
num_cpus = "1.12.0"
|
|
|
|
[build-dependencies]
|
|
syn = { version = "1.0.31", features = [] }
|
|
quote = "^1.0"
|
|
proc-macro2 = "1.0.18"
|
|
|
|
[profile.release]
|
|
lto = true
|
|
opt-level = "z"
|
|
debug = false
|
|
|
|
[workspace]
|
|
members = ["melib", "testing", ]
|
|
|
|
[features]
|
|
default = ["sqlite3", "notmuch", "regexp", "smtp"]
|
|
notmuch = ["melib/notmuch_backend", ]
|
|
jmap = ["melib/jmap_backend",]
|
|
sqlite3 = ["melib/sqlite3"]
|
|
smtp = ["melib/smtp"]
|
|
regexp = ["pcre2"]
|
|
cli-docs = []
|
|
svgscreenshot = ["svg_crate"]
|
|
|
|
# Print tracing logs as meli runs in stderr
|
|
# enable for debug tracing logs: build with --features=debug-tracing
|
|
debug-tracing = ["melib/debug-tracing", ]
|