summaryrefslogtreecommitdiffstats
path: root/core/Cargo.toml
blob: e7bc4e420ffed0a772bda385ab908874ded0f045 (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
[package]
name = "mail-core"
version = "0.6.2"
description = "[mail/core] provides the Mail type for the mail crate (inkl. multipart mime bodies, builder and resource type)"
authors = ["Philipp Korber <p.korber@1aim.com>"]
keywords = ["mail-api", "internal"]
categories = []
license = "MIT OR Apache-2.0"
readme = "./README.md"
documentation = "https://docs.rs/mail-core"
repository = "https://github.com/1aim/mail-core"

[features]
serde-impl = ["serde", "mail-headers/serde-impl"]
default = ["default_impl_cpupool"]
default_impl_cpupool = ["futures-cpupool"]
test-utils = ["default", "lazy_static"]

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

[dependencies]
mail-internals = { version = "0.2.3", path = "../internals" }
mail-headers = { version = "0.6.6", path = "../headers" }
failure = "0.1.2"
futures = "0.1.24"
log = "0.3.8"
rand = "0.3.15"
vec1 = "1.3.0"
chrono = "0.4"
soft-ascii-string = "1.0"
serde = { version="1.0", optional=true, features=["derive"] }
checked_command = "0.2.2"
lazy_static = { version="1.2.0", optional=true }

media-type = "0.4.0-unstable"

[dependencies.futures-cpupool]
optional = true
version = "0.1.5"

[dev-dependencies]
serde_json = "1.0"
serde_test = "1.0.80"