-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
40 lines (35 loc) · 1.41 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
[package]
name = "imap-client"
description = "Rust library to manage IMAP clients"
version = "0.2.2"
authors = ["soywod <[email protected]>"]
edition = "2021"
license = "MIT"
categories = ["email"]
keywords = ["email", "imap", "client"]
homepage = "https://pimalaya.org/"
documentation = "https://github.com/pimalaya/imap-client/"
repository = "https://github.com/pimalaya/imap-client/"
[features]
default = []
# TLS providers
#
tokio-rustls = ["dep:tokio-rustls", "dep:rip-starttls", "dep:rustls-platform-verifier"]
tokio-native-tls = ["dep:tokio-native-tls", "dep:rip-starttls"]
# Vendored (mostly for OpenSSL)
#
vendored = ["tokio-native-tls?/vendored"]
[dev-dependencies]
async-std = { version = "1.13", features = ["attributes"] }
imap-client = { path = ".", features = ["tokio-rustls", "tokio-native-tls"] }
static_assertions = "1.1"
tokio = { version = "1.37", features = ["full"] }
[dependencies]
imap-next = { version = "0.3", features = ["tag_generator", "ext_id", "ext_metadata"] }
rip-starttls = { version = "0.1", optional = true, features = ["tokio"] }
rustls-platform-verifier = { version = "0.4", optional = true }
thiserror = "2"
tokio = { version = "1.37", default-features = false, features = ["io-util", "net", "time"] }
tokio-native-tls = { version = "0.3", optional = true }
tokio-rustls = { version = "0.26", optional = true, default-features = false, features = ["logging", "tls12", "ring"] }
tracing = "0.1"