summaryrefslogtreecommitdiffstats
path: root/mail/Cargo.toml
blob: 8b3a15137ef7e4c35bfabbc8ea5522ed1380eaac (plain)
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
43
44
45
46
47
48
49
50
51
52
53
[package]
name = "mail"
version = "0.6.10"
authors = ["Philipp Korber <p.korber@1aim.com>"]
categories = []
keywords = ["mail", "rfc5322", "mime", "smtp", "template"]
description = "mail, facade for a number of mail related crates for creating and sending mails"
license = "MIT OR Apache-2.0"
readme = "./README.md"
repository = "https://github.com/1aim/mail"
autoexamples = true

[features]
smtp = ["mail-smtp"]
handlebars = ["mail-template/handlebars-bindings"]
traceing = ["mail-internals/traceing", "mail-headers/traceing"]
test-utils = ["mail-core/test-utils"]
serde-impl = ["mail-core/serde-impl", "mail-headers/serde-impl"]

[[example]]
name = "mail_by_hand"
path = "examples/mail_by_hand.rs"

[[example]]
name = "mail_from_template"
path = "examples/mail_from_template/main.rs"
required-features = ["handlebars"]

[[example]]
name = "send_mail"
path = "examples/send_mail/main.rs"
required-features = ["smtp"]

[package.metadata.docs.rs]
features = [ "handlebars", "smtp", "serde-impl" ]

[dependencies]
mail-internals = "0.2.3"
mail-headers =  "0.6.6"
mail-core =  "0.6.2"
mail-template = "0.6.1"
mail-smtp =  { version="0.2.2", optional=true }

[dev-dependencies]
rpassword = "2.0.0"
tokio = "0.1.1"
serde = "1.0.10"
serde_derive = "1.0.10"
soft-ascii-string = "1.0"
futures = "0.1.0"
failure = "0.1.1"