forked from jonhoo/rust-imap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
81 lines (67 loc) · 2 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[package]
name = "imap"
version = "3.0.0-alpha.12"
authors = ["Jon Gjengset <[email protected]>",
"Matt McCoy <[email protected]>"]
documentation = "https://docs.rs/imap/"
repository = "https://github.com/jonhoo/rust-imap"
homepage = "https://github.com/jonhoo/rust-imap"
description = "IMAP client for Rust"
license = "Apache-2.0 OR MIT"
edition = "2021"
keywords = ["email", "imap"]
categories = ["email", "network-programming"]
[features]
rustls-tls = ["rustls-connector"]
default = ["native-tls"]
# Used to expose helpers in the imap::testing module to build response objects
test_helpers = []
# Used to activate full integration tests when running against a more complete IMAP server
test-full-imap = []
[dependencies]
native-tls = { version = "0.2.2", optional = true }
rustls-connector = { version = "0.18.0", optional = true, features = ["dangerous-configuration"] }
regex = "1.0"
bufstream = "0.1.3"
imap-proto = "0.16.1"
nom = { version = "7.1.0", default-features = false }
base64 = "0.21"
chrono = { version = "0.4", default-features = false, features = ["std"]}
lazy_static = "1.4"
ouroboros = "0.16.0"
[dev-dependencies]
lettre = "0.10"
rustls-connector = "0.18.0"
structopt = "0.3"
# to make -Zminimal-versions work
[target.'cfg(any())'.dependencies]
encoding = { version = "0.2.32", optional = true }
failure = { version = "0.1.8", optional = true }
mime = { version = "0.3.4", optional = true }
openssl = { version = "0.10.60", optional = true }
[[example]]
name = "basic"
required-features = ["default"]
[[example]]
name = "gmail_oauth2"
required-features = ["default"]
[[example]]
name = "idle"
required-features = ["default"]
[[example]]
name = "rustls"
required-features = ["rustls-tls"]
[[example]]
name = "starttls"
required-features = ["default"]
[[example]]
name = "timeout"
required-features = ["default"]
[[test]]
name = "imap_integration"
required-features = ["default"]
[[test]]
name = "builder_integration"
required-features = []
[package.metadata.docs.rs]
all-features = true