2017-07-23 11:01:17 +00:00
|
|
|
[package]
|
2017-09-05 13:41:29 +00:00
|
|
|
name = "meli"
|
2021-09-03 13:10:37 +00:00
|
|
|
version = "0.7.0"
|
2017-07-23 11:01:17 +00:00
|
|
|
authors = ["Manos Pitsidianakis <el13635@mail.ntua.gr>"]
|
2019-04-04 11:21:52 +00:00
|
|
|
edition = "2018"
|
2017-07-23 11:01:17 +00:00
|
|
|
|
2020-02-04 16:12:44 +00:00
|
|
|
license = "GPL-3.0-or-later"
|
2020-07-29 18:51:58 +00:00
|
|
|
readme = "README.md"
|
2020-02-04 16:12:44 +00:00
|
|
|
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"]
|
2020-03-04 12:09:55 +00:00
|
|
|
default-run = "meli"
|
2020-02-04 16:12:44 +00:00
|
|
|
|
2017-09-07 20:00:08 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "meli"
|
|
|
|
path = "src/bin.rs"
|
|
|
|
|
2020-08-01 22:25:06 +00:00
|
|
|
#[[bin]]
|
|
|
|
#name = "managesieve-meli"
|
|
|
|
#path = "src/managesieve.rs"
|
2020-03-04 12:09:55 +00:00
|
|
|
|
2020-07-24 17:13:18 +00:00
|
|
|
#[[bin]]
|
|
|
|
#name = "async"
|
|
|
|
#path = "src/async.rs"
|
|
|
|
|
2017-07-23 11:01:17 +00:00
|
|
|
[dependencies]
|
2019-07-11 08:45:09 +00:00
|
|
|
xdg = "2.1.0"
|
2019-09-09 09:53:39 +00:00
|
|
|
crossbeam = "0.7.2"
|
2020-01-08 15:07:14 +00:00
|
|
|
signal-hook = "0.1.12"
|
|
|
|
signal-hook-registry = "1.2.0"
|
2020-05-29 12:52:18 +00:00
|
|
|
nix = "0.17.0"
|
2021-09-03 13:10:37 +00:00
|
|
|
melib = { path = "melib", version = "0.7.0" }
|
2020-02-04 13:52:12 +00:00
|
|
|
|
|
|
|
serde = "1.0.71"
|
|
|
|
serde_derive = "1.0.71"
|
|
|
|
serde_json = "1.0"
|
2020-08-16 12:38:37 +00:00
|
|
|
toml = { version = "0.5.6", features = ["preserve_order", ] }
|
2021-01-07 18:16:40 +00:00
|
|
|
indexmap = { version = "^1.6", features = ["serde-1", ] }
|
2020-05-29 12:52:18 +00:00
|
|
|
linkify = "0.4.0"
|
2020-02-04 13:52:12 +00:00
|
|
|
notify = "4.0.1" # >:c
|
|
|
|
termion = "1.5.1"
|
2020-11-06 16:38:18 +00:00
|
|
|
bincode = "^1.3.0"
|
2020-05-29 12:52:18 +00:00
|
|
|
uuid = { version = "0.8.1", features = ["serde", "v4"] }
|
2020-02-04 13:52:12 +00:00
|
|
|
unicode-segmentation = "1.2.1" # >:c
|
|
|
|
libc = {version = "0.2.59", features = ["extra_traits",]}
|
2020-11-22 04:22:57 +00:00
|
|
|
smallvec = { version = "^1.5.0", features = ["serde", ] }
|
2020-04-05 09:04:25 +00:00
|
|
|
bitflags = "1.0"
|
2020-06-04 18:33:27 +00:00
|
|
|
pcre2 = { version = "0.2.3", optional = true }
|
2020-06-10 15:06:28 +00:00
|
|
|
structopt = { version = "0.3.14", default-features = false }
|
2020-06-11 22:37:57 +00:00
|
|
|
svg_crate = { version = "0.8.0", optional = true, package = "svg" }
|
2020-06-26 15:31:37 +00:00
|
|
|
futures = "0.3.5"
|
|
|
|
async-task = "3.0.0"
|
2020-06-29 15:41:47 +00:00
|
|
|
num_cpus = "1.12.0"
|
2020-10-17 17:50:29 +00:00
|
|
|
flate2 = { version = "1.0.16", optional = true }
|
2020-10-28 21:28:41 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_os="linux")'.dependencies]
|
|
|
|
notify-rust = { version = "^4", optional = true }
|
2020-06-07 15:02:20 +00:00
|
|
|
|
2020-06-20 20:28:50 +00:00
|
|
|
[build-dependencies]
|
|
|
|
syn = { version = "1.0.31", features = [] }
|
|
|
|
quote = "^1.0"
|
|
|
|
proc-macro2 = "1.0.18"
|
2020-10-17 17:50:29 +00:00
|
|
|
flate2 = { version = "1.0.16", optional = true }
|
2017-07-28 14:45:19 +00:00
|
|
|
|
2017-09-01 12:24:32 +00:00
|
|
|
[profile.release]
|
2020-07-29 11:33:09 +00:00
|
|
|
lto = "fat"
|
2020-10-11 14:19:10 +00:00
|
|
|
codegen-units = 1
|
|
|
|
opt-level = "s"
|
2019-06-10 19:15:42 +00:00
|
|
|
debug = false
|
2018-09-22 13:53:25 +00:00
|
|
|
|
|
|
|
[workspace]
|
2020-08-27 14:18:58 +00:00
|
|
|
members = ["melib", "tools", ]
|
2019-09-21 18:25:21 +00:00
|
|
|
|
|
|
|
[features]
|
2020-10-05 15:43:08 +00:00
|
|
|
default = ["sqlite3", "notmuch", "regexp", "smtp", "dbus-notifications", "gpgme"]
|
2020-02-04 13:52:12 +00:00
|
|
|
notmuch = ["melib/notmuch_backend", ]
|
2019-12-12 22:39:56 +00:00
|
|
|
jmap = ["melib/jmap_backend",]
|
2020-05-30 12:35:51 +00:00
|
|
|
sqlite3 = ["melib/sqlite3"]
|
Add smtp client support for sending mail in UI
`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" } }
2020-07-15 11:38:43 +00:00
|
|
|
smtp = ["melib/smtp"]
|
2020-06-04 18:33:27 +00:00
|
|
|
regexp = ["pcre2"]
|
2020-09-10 17:31:12 +00:00
|
|
|
dbus-notifications = ["notify-rust",]
|
2020-10-17 17:50:29 +00:00
|
|
|
cli-docs = ["flate2"]
|
2020-06-11 22:37:57 +00:00
|
|
|
svgscreenshot = ["svg_crate"]
|
2020-10-05 15:43:08 +00:00
|
|
|
gpgme = ["melib/gpgme"]
|
2019-09-28 20:11:48 +00:00
|
|
|
|
2019-09-26 10:07:12 +00:00
|
|
|
# Print tracing logs as meli runs in stderr
|
2019-09-28 20:11:48 +00:00
|
|
|
# enable for debug tracing logs: build with --features=debug-tracing
|
2020-02-04 13:52:12 +00:00
|
|
|
debug-tracing = ["melib/debug-tracing", ]
|