-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
51 lines (44 loc) · 1.54 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
[package]
name = "imap-next"
description = "Thin sans I/O abstraction over IMAP's distinct protocol flows"
keywords = ["email", "imap", "protocol", "network"]
categories = ["email", "network-programming"]
version = "0.3.1"
repository = "https://github.com/duesee/imap-next"
edition = "2021"
license = "MIT OR Apache-2.0"
exclude = [".github"]
[features]
default = ["stream"]
expose_stream = []
stream = ["dep:bytes", "dep:tokio", "dep:tokio-rustls"]
# <Forward to imap-codec>
arbitrary = ["imap-codec/arbitrary"]
arbitrary_simplified = ["imap-codec/arbitrary_simplified"]
serde = ["imap-codec/serde"]
tag_generator = ["imap-codec/tag_generator"]
# IMAP
starttls = ["imap-codec/starttls"]
ext_condstore_qresync = ["imap-codec/ext_condstore_qresync"]
ext_id = ["imap-codec/ext_id"]
ext_login_referrals = ["imap-codec/ext_login_referrals"]
ext_mailbox_referrals = ["imap-codec/ext_mailbox_referrals"]
ext_metadata = ["imap-codec/ext_metadata"]
# </Forward to imap-codec>
[dependencies]
bytes = { version = "1.8.0", optional = true }
imap-codec = { version = "2.0.0-alpha.5", features = ["quirk_crlf_relaxed"] }
thiserror = "2.0.3"
tokio = { version = "1.41.1", optional = true, features = ["io-util", "macros", "net"] }
tokio-rustls = { version = "0.26.0", optional = true, default-features = false }
tracing = "0.1.40"
[dev-dependencies]
# We want to enable `tag_generator` for examples.
imap-next = { path = ".", features = ["tag_generator"] }
rand = "0.8.5"
tokio = { version = "1.41.1", features = ["full"] }
[workspace]
resolver = "2"
members = [
"integration-test",
]