forked from monoio-rs/monoio-transports
/
Cargo.toml
49 lines (41 loc) · 1.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
[package]
authors = ["ChiHai <ihciah@gmail.com>", "Rain <rain-jiang@outlook.com>"]
description = "Monoio Transporter."
edition = "2021"
license = "MIT/Apache-2.0"
name = "monoio-transports"
version = "0.3.1"
[dependencies]
monoio = "0.2.0"
monoio-compat = "0.2.0"
service-async = "0.2.0"
monoio-rustls = "0.3.0"
monoio-http = "0.3.1"
monoio-codec = "0.3.1"
monoio-native-tls = { version = "0.3.0", optional = true }
bytes = "1"
http = "1.0"
local-sync = "0.1"
thiserror = "1"
serde = "1"
serde_json = "1"
smol_str = "0.2"
rustls = { version = "0.21", default-features = false, features = [
"dangerous_configuration",
] }
webpki-roots = "0.25.2"
native-tls = { version = "0.2", optional = true }
tracing = { version = "0.1", optional = true }
[dev-dependencies]
serde = { version = "1", features = ["derive"] }
tracing = "0.1"
tracing-subscriber = "0.3"
[features]
default = ["time"]
# Enable this feature to make connection pool periodically checking works.
# You must enable time driver to use it.
time = []
# Note: rustls and native-tls cannot be enabled at the same time
rustls-unsafe-io = ["monoio-rustls/unsafe_io"]
native-tls = ["dep:native-tls", "monoio-native-tls"]
logging = ["tracing", "monoio-rustls/logging"]