forked from rustls/hyper-rustls
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
42 lines (37 loc) · 1.14 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
[package]
name = "hyper-rustls"
version = "0.21.0"
edition = "2018"
authors = ["Joseph Birr-Pixton <jpixton@gmail.com>"]
license = "Apache-2.0/ISC/MIT"
readme = "README.md"
description = "Rustls+hyper integration for pure rust HTTPS"
homepage = "https://github.com/ctz/hyper-rustls"
repository = "https://github.com/ctz/hyper-rustls"
[dependencies]
bytes = "0.5"
log = "0.4.4"
ct-logs = { version = "^0.7", optional = true }
futures-util = "0.3.1"
hyper = { version = "0.13.0", default-features = false }
rustls = "0.18"
rustls-native-certs = { version = "0.4.0", optional = true }
tokio = "0.2.4"
tokio-rustls = "0.14.0"
webpki = "0.21.0"
webpki-roots = { version = "0.20", optional = true }
[dev-dependencies]
tokio = { version = "0.2", features = ["io-std", "macros", "dns", "stream"] }
[features]
default = ["native-tokio"]
webpki-tokio = ["tokio-runtime", "webpki-roots"]
native-tokio = ["tokio-runtime", "rustls-native-certs"]
tokio-runtime = ["hyper/runtime", "ct-logs"]
[[example]]
name = "client"
path = "examples/client.rs"
required-features = ["tokio-runtime"]
[[example]]
name = "server"
path = "examples/server.rs"
required-features = ["tokio-runtime"]