forked from stalwartlabs/mail-send
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
42 lines (38 loc) · 1.3 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[package]
name = "mail-send"
description = "E-mail delivery library with SMTP and DKIM support"
version = "0.4.7"
edition = "2021"
authors = [ "Stalwart Labs <[email protected]>"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/stalwartlabs/mail-send"
homepage = "https://github.com/stalwartlabs/mail-send"
keywords = ["smtp", "dkim", "email", "mime", "mail"]
categories = ["email"]
readme = "README.md"
[lib]
doctest = false
[dependencies]
smtp-proto = { version = "0.1" }
mail-auth = { version = "0.3", optional = true }
mail-builder = { version = "0.3", optional = true }
mail-parser = { version = "0.9", optional = true }
base64 = "0.21"
rand = { version = "0.8.5", optional = true }
md5 = { version = "0.7.0", optional = true }
tokio = { version = "1.23", features = ["net", "io-util", "time"]}
rustls = { version = "0.22", features = ["tls12"]}
tokio-rustls = { version = "0.25"}
webpki-roots = { version = "0.26"}
rustls-pki-types = { version = "1" }
gethostname = { version = "0.4"}
[dev-dependencies]
tokio = { version = "1.16", features = ["net", "io-util", "time", "rt-multi-thread", "macros"] }
env_logger = "0.10.0"
[features]
default = ["digest-md5", "cram-md5", "builder", "dkim"]
builder = ["mail-builder"]
parser = ["mail-parser"]
dkim = ["mail-auth"]
digest-md5 = ["md5", "rand"]
cram-md5 = ["md5"]