2017-07-23 11:01:17 +00:00
[ package ]
2017-09-05 13:41:29 +00:00
name = "meli"
2021-10-15 09:36:37 +00:00
version = "0.7.2"
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"
2023-01-24 07:18:51 +00:00
rust-version = "1.65.0"
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"
2022-08-27 12:02:48 +00:00
path = "src/main.rs"
2017-09-07 20:00:08 +00:00
2022-09-01 18:14:17 +00:00
[ lib ]
name = "meli"
path = "src/lib.rs"
2022-10-22 15:42:07 +00:00
[ [ bin ] ]
name = "managesieve-client"
path = "src/managesieve.rs"
2023-06-06 05:02:29 +00:00
required-features = [ "melib/imap_backend" ]
2020-03-04 12:09:55 +00:00
2017-07-23 11:01:17 +00:00
[ dependencies ]
2022-08-27 13:18:56 +00:00
async-task = "^4.2.0"
bitflags = "1.0"
crossbeam = { version = "^0.8" }
2023-07-03 07:57:42 +00:00
flate2 = { version = "1" , optional = true }
2022-08-27 13:18:56 +00:00
futures = "0.3.5"
indexmap = { version = "^1.6" , features = [ "serde-1" , ] }
libc = { version = "0.2.125" , default-features = false , features = [ "extra_traits" , ] }
linkify = { version = "^0.8" , default-features = false }
2021-10-15 09:36:37 +00:00
melib = { path = "melib" , version = "0.7.2" }
2022-08-27 13:18:56 +00:00
nix = { version = "^0.24" , default-features = false }
notify = { version = "4.0.1" , default-features = false } # >:c
num_cpus = "1.12.0"
pcre2 = { version = "0.2.3" , optional = true }
2020-02-04 13:52:12 +00:00
serde = "1.0.71"
serde_derive = "1.0.71"
serde_json = "1.0"
2022-08-27 13:18:56 +00:00
signal-hook = { version = "^0.3" , default-features = false }
signal-hook-registry = { version = "1.2.0" , default-features = false }
2020-11-22 04:22:57 +00:00
smallvec = { version = "^1.5.0" , features = [ "serde" , ] }
2020-06-10 15:06:28 +00:00
structopt = { version = "0.3.14" , default-features = false }
2023-07-01 17:11:22 +00:00
svg_crate = { version = "^0.13" , optional = true , package = "svg" }
2022-08-27 13:18:56 +00:00
termion = { version = "1.5.1" , default-features = false }
toml = { version = "0.5.6" , default-features = false , features = [ "preserve_order" , ] }
unicode-segmentation = "1.2.1" # >:c
xdg = "2.1.0"
2022-03-20 14:31:55 +00:00
2020-10-28 21:28:41 +00:00
[ target . 'cfg(target_os="linux")' . dependencies ]
2022-08-27 13:18:56 +00:00
notify-rust = { version = "^4" , default-features = false , features = [ "dbus" , ] , optional = true }
2020-06-07 15:02:20 +00:00
2020-06-20 20:28:50 +00:00
[ build-dependencies ]
2023-07-03 07:57:42 +00:00
flate2 = { version = "1" , optional = true }
2022-08-27 13:18:56 +00:00
proc-macro2 = "1.0.37"
quote = "^1.0"
2023-07-03 11:59:37 +00:00
regex = "1"
syn = { version = "1" , features = [ ] }
2017-07-28 14:45:19 +00:00
2022-03-20 14:31:55 +00:00
[ dev-dependencies ]
2023-07-03 07:57:42 +00:00
flate2 = { version = "1" }
2022-03-20 14:31:55 +00:00
regex = "1"
2023-05-16 10:17:13 +00:00
tempfile = "3.3"
2022-03-20 14:31:55 +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
2022-08-27 14:39:23 +00:00
strip = true
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 ]
2022-09-06 18:59:30 +00:00
default = [ "sqlite3" , "notmuch" , "regexp" , "smtp" , "dbus-notifications" , "gpgme" , "cli-docs" ]
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" , ]