forked from rust-lang/futures-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
45 lines (37 loc) · 1.27 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
[package]
name = "futures-tls"
version = "0.1.0"
authors = ["Alex Crichton <[email protected]>"]
license = "MIT/Apache-2.0"
repository = "https://github.com/alexcrichton/futures-rs"
homepage = "https://github.com/alexcrichton/futures-rs"
documentation = "http://alexcrichton.com/futures-rs/futures_tls/"
description = """
An implementation of TLS/SSL streams on top of the `futures_io` crate giving an
implementation of TLS for nonblocking I/O streams.
"""
[dependencies]
cfg-if = "0.1"
futures = { path = "..", version = "0.1.0" }
futures-io = { path = "../futures-io", version = "0.1.0" }
log = "0.3"
# Optional dependency that can be enabled with the `force-openssl` feature
openssl = { version = "0.8", optional = true }
openssl-verify = { version = "0.2", optional = true }
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
openssl = "0.8"
openssl-verify = "0.2"
[target.'cfg(target_os = "macos")'.dependencies]
security-framework = "0.1"
[target.'cfg(windows)'.dependencies]
schannel = "0.1"
[target.'cfg(windows)'.dev-dependencies]
advapi32-sys = "0.2"
crypt32-sys = "0.2"
kernel32-sys = "0.2"
winapi = "0.2"
[dev-dependencies]
futures-mio = { path = "../futures-mio", version = "0.1.0" }
env_logger = "0.3"
[features]
force-openssl = ["openssl", "openssl-verify"]