2018-07-20 09:15:06 +00:00
|
|
|
[package]
|
|
|
|
name = "melib"
|
2023-07-06 06:03:19 +00:00
|
|
|
version = "0.8.0"
|
|
|
|
authors = ["Manos Pitsidianakis <manos@pitsidianak.is>"]
|
2019-06-18 18:13:58 +00:00
|
|
|
edition = "2018"
|
2019-11-14 15:55:06 +00:00
|
|
|
build = "build.rs"
|
2023-01-24 07:18:51 +00:00
|
|
|
rust-version = "1.65.0"
|
2018-07-20 09:15:06 +00:00
|
|
|
|
2020-02-04 15:26:25 +00:00
|
|
|
homepage = "https://meli.delivery"
|
|
|
|
repository = "https://git.meli.delivery/meli/meli.git"
|
2020-09-24 13:51:51 +00:00
|
|
|
description = "mail library"
|
|
|
|
keywords = ["mail", "mua", "maildir", "imap", "jmap"]
|
2022-08-27 13:18:56 +00:00
|
|
|
categories = ["email", "parser-implementations"]
|
2020-02-04 15:26:25 +00:00
|
|
|
license = "GPL-3.0-or-later"
|
2020-09-24 13:51:51 +00:00
|
|
|
readme = "README.md"
|
2020-02-04 15:26:25 +00:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "melib"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
2018-07-20 09:15:06 +00:00
|
|
|
[dependencies]
|
2022-08-27 13:18:56 +00:00
|
|
|
async-stream = "^0.3"
|
|
|
|
base64 = { version = "^0.13", optional = true }
|
2023-08-25 05:17:05 +00:00
|
|
|
bitflags = { version = "2.4", features = ["serde"] }
|
2022-08-27 13:18:56 +00:00
|
|
|
data-encoding = { version = "2.1.1" }
|
|
|
|
encoding = { version = "0.2.33", default-features = false }
|
2023-04-08 21:03:20 +00:00
|
|
|
encoding_rs = { version = "^0.8" }
|
2023-09-01 09:14:12 +00:00
|
|
|
flate2 = { version = "1.0.16" }
|
2022-08-27 13:18:56 +00:00
|
|
|
futures = "0.3.5"
|
|
|
|
|
2023-08-28 16:16:48 +00:00
|
|
|
imap-codec = { version = "1.0.0", features = ["ext_condstore_qresync"], optional = true }
|
2023-08-19 06:07:55 +00:00
|
|
|
|
2023-09-05 12:33:28 +00:00
|
|
|
indexmap = { version = "^1.5", default-features = false, features = ["serde-1"] }
|
2022-08-27 13:18:56 +00:00
|
|
|
isahc = { version = "^1.7.2", optional = true, default-features = false, features = ["http2", "json", "text-decoding"] }
|
2023-09-05 12:33:28 +00:00
|
|
|
libc = { version = "0.2.125", features = ["extra_traits"] }
|
2020-06-06 16:38:20 +00:00
|
|
|
|
2022-08-27 13:18:56 +00:00
|
|
|
libloading = "^0.7"
|
2023-06-04 18:10:49 +00:00
|
|
|
log = { version = "0.4", features = ["std"] }
|
2022-08-27 13:18:56 +00:00
|
|
|
native-tls = { version = "0.2.3", default-features = false, optional = true }
|
|
|
|
nix = "^0.24"
|
|
|
|
nom = { version = "7" }
|
2020-08-26 16:13:18 +00:00
|
|
|
notify = { version = "4.0.15", optional = true }
|
2023-08-11 18:03:32 +00:00
|
|
|
polling = "2.8"
|
2023-04-08 21:03:20 +00:00
|
|
|
regex = { version = "1" }
|
2023-08-25 05:17:05 +00:00
|
|
|
rusqlite = { version = "^0.29", default-features = false, optional = true }
|
2023-09-05 12:33:28 +00:00
|
|
|
serde = { version = "1.0", features = ["rc"] }
|
2023-07-18 13:12:09 +00:00
|
|
|
serde_derive = "1.0"
|
2023-09-05 12:33:28 +00:00
|
|
|
serde_json = { version = "1.0", features = ["raw_value"] }
|
2023-07-18 13:12:09 +00:00
|
|
|
serde_path_to_error = { version = "0.1" }
|
2023-09-05 12:33:28 +00:00
|
|
|
smallvec = { version = "^1.5.0", features = ["serde"] }
|
2020-09-18 10:49:09 +00:00
|
|
|
smol = "1.0.0"
|
2023-08-11 18:03:32 +00:00
|
|
|
socket2 = { version = "0.4", features = [] }
|
2022-08-27 13:18:56 +00:00
|
|
|
|
|
|
|
unicode-segmentation = { version = "1.2.1", default-features = false, optional = true }
|
|
|
|
uuid = { version = "^1", features = ["serde", "v4", "v5"] }
|
|
|
|
xdg = "2.1.0"
|
2020-02-26 12:18:00 +00:00
|
|
|
|
2022-09-10 16:32:51 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
mailin-embedded = { version = "0.7", features = ["rtls"] }
|
|
|
|
stderrlog = "^0.5"
|
|
|
|
|
2023-09-01 09:14:12 +00:00
|
|
|
[build-dependencies]
|
|
|
|
flate2 = { version = "1.0.16" }
|
|
|
|
|
2019-09-21 18:23:06 +00:00
|
|
|
[features]
|
2023-09-01 09:23:27 +00:00
|
|
|
default = ["imap", "nntp", "maildir", "mbox", "vcard", "smtp"]
|
2019-09-21 18:23:06 +00:00
|
|
|
|
2019-09-23 06:36:46 +00:00
|
|
|
debug-tracing = []
|
2020-10-05 15:43:08 +00:00
|
|
|
gpgme = []
|
2020-08-07 10:51:44 +00:00
|
|
|
http = ["isahc"]
|
|
|
|
http-static = ["isahc", "isahc/static-curl"]
|
2023-07-22 17:46:23 +00:00
|
|
|
imap = ["imap-codec", "tls"]
|
2023-07-22 18:27:05 +00:00
|
|
|
imap-trace = ["imap"]
|
2023-07-22 17:54:55 +00:00
|
|
|
jmap = ["http"]
|
2023-08-13 11:29:00 +00:00
|
|
|
jmap-trace = ["jmap"]
|
2023-07-22 18:01:42 +00:00
|
|
|
nntp = ["tls"]
|
2023-07-22 18:15:59 +00:00
|
|
|
nntp-trace = ["nntp"]
|
2023-07-22 17:48:09 +00:00
|
|
|
maildir = ["notify"]
|
2023-07-22 17:52:37 +00:00
|
|
|
mbox = ["notify"]
|
2023-07-22 17:51:12 +00:00
|
|
|
notmuch = []
|
2020-08-15 10:37:30 +00:00
|
|
|
smtp = ["tls", "base64"]
|
2023-07-22 13:25:54 +00:00
|
|
|
smtp-trace = ["smtp"]
|
2023-09-05 12:33:28 +00:00
|
|
|
sqlite3 = ["rusqlite"]
|
|
|
|
sqlite3-static = ["sqlite3", "rusqlite/bundled-full"]
|
2020-10-05 15:43:08 +00:00
|
|
|
tls = ["native-tls"]
|
2023-09-05 12:33:28 +00:00
|
|
|
tls-static = ["tls", "native-tls/vendored"]
|
2023-09-01 09:14:12 +00:00
|
|
|
text-processing = []
|
|
|
|
unicode-algorithms = ["text-processing", "unicode-segmentation"]
|
|
|
|
unicode-algorithms-cached = ["text-processing", "unicode-segmentation"]
|
2020-08-07 10:51:44 +00:00
|
|
|
vcard = []
|