-
Notifications
You must be signed in to change notification settings - Fork 84
/
Cargo.toml
79 lines (65 loc) · 1.9 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
[package]
name = "imap"
version = "3.0.0-alpha.14"
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.19.0", optional = true }
regex = "1.0"
bufstream = "0.1.3"
imap-proto = "0.16.1"
nom = { version = "7.1.0", default-features = false }
base64 = "0.22"
chrono = { version = "0.4", default-features = false, features = ["std"]}
lazy_static = "1.4"
ouroboros = "0.18.0"
[dev-dependencies]
lettre = "0.11"
rustls-connector = "0.19.0"
clap = { version = "4.5.4", features = ["derive"] }
# to make -Zminimal-versions work
[target.'cfg(any())'.dependencies]
openssl = { version = "0.10.60", optional = true }
openssl-macros = { version = "0.1.1", 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