forked from meli/meli
1
Fork 0
meli/melib/Cargo.toml

90 lines
2.6 KiB
TOML
Raw Permalink Normal View History

[package]
name = "melib"
2021-10-15 12:36:37 +03:00
version = "0.7.2"
authors = ["Manos Pitsidianakis <epilys@nessuent.xyz>"]
workspace = ".."
2019-06-18 21:13:58 +03:00
edition = "2018"
build = "build.rs"
rust-version = "1.65.0"
homepage = "https://meli.delivery"
repository = "https://git.meli.delivery/meli/meli.git"
description = "mail library"
keywords = ["mail", "mua", "maildir", "imap", "jmap"]
categories = ["email", "parser-implementations"]
license = "GPL-3.0-or-later"
readme = "README.md"
[lib]
name = "melib"
path = "src/lib.rs"
[dependencies]
async-stream = "^0.3"
base64 = { version = "^0.13", optional = true }
2018-08-06 14:58:54 +03:00
bitflags = "1.0"
data-encoding = { version = "2.1.1" }
encoding = { version = "0.2.33", default-features = false }
encoding_rs = { version = "^0.8" }
flate2 = { version = "1.0.16", optional = true }
futures = "0.3.5"
indexmap = { version = "^1.5", default-features = false, features = ["serde-1", ] }
isahc = { version = "^1.7.2", optional = true, default-features = false, features = ["http2", "json", "text-decoding"] }
libc = { version = "0.2.125", features = ["extra_traits",] }
libloading = "^0.7"
2023-06-04 21:10:49 +03:00
log = { version = "0.4", features = ["std"] }
native-tls = { version = "0.2.3", default-features = false, optional = true }
nix = "^0.24"
nom = { version = "7" }
2020-08-26 19:13:18 +03:00
notify = { version = "4.0.15", optional = true }
regex = { version = "1" }
rusqlite = { version = "^0.28", default-features = false, optional = true }
serde = { version = "1.0.71", features = ["rc", ] }
serde_derive = "1.0.71"
serde_json = { version = "1.0", features = ["raw_value",] }
smallvec = { version = "^1.5.0", features = ["serde", ] }
2020-09-18 13:49:09 +03:00
smol = "1.0.0"
unicode-segmentation = { version = "1.2.1", default-features = false, optional = true }
uuid = { version = "^1", features = ["serde", "v4", "v5"] }
xdg = "2.1.0"
2020-11-28 14:44:50 +02:00
xdg-utils = "^0.4.0"
2020-02-26 14:18:00 +02:00
2023-06-05 19:37:03 +03:00
[dependencies.imap-codec]
version = "0.10.0"
2023-06-05 19:37:03 +03:00
features = [
"ext_condstore_qresync",
"ext_enable",
"ext_idle",
"ext_literal",
"ext_move",
"ext_sasl_ir",
"ext_unselect"
]
optional = true
2022-09-10 19:32:51 +03:00
[dev-dependencies]
mailin-embedded = { version = "0.7", features = ["rtls"] }
stderrlog = "^0.5"
[features]
default = ["unicode_algorithms", "imap_backend", "maildir_backend", "mbox_backend", "vcard", "sqlite3", "smtp", "deflate_compression"]
debug-tracing = []
2023-06-05 19:37:03 +03:00
deflate_compression = ["flate2", "imap-codec/ext_compress"]
2020-10-05 18:43:08 +03:00
gpgme = []
http = ["isahc"]
http-static = ["isahc", "isahc/static-curl"]
2023-06-05 19:37:03 +03:00
imap_backend = ["imap-codec", "tls"]
jmap_backend = ["http"]
maildir_backend = ["notify"]
mbox_backend = ["notify"]
notmuch_backend = []
smtp = ["tls", "base64"]
sqlite3 = ["rusqlite", ]
2020-10-05 18:43:08 +03:00
tls = ["native-tls"]
unicode_algorithms = ["unicode-segmentation"]
vcard = []