1[package]
2name = "tokio-native-tls"
3# When releasing to crates.io:
4# - Remove path dependencies
5# - Update html_root_url.
6# - Update doc url
7# - Cargo.toml
8# - README.md
9# - Update CHANGELOG.md.
10# - Create "v0.1.x" git tag.
11version = "0.3.1"
12edition = "2018"
13authors = ["Tokio Contributors <team@tokio.rs>"]
14license = "MIT"
15repository = "https://github.com/tokio-rs/tls"
16homepage = "https://tokio.rs"
17documentation = "https://docs.rs/tokio-native-tls"
18description = """
19An implementation of TLS/SSL streams for Tokio using native-tls giving an implementation of TLS
20for nonblocking I/O streams.
21"""
22categories = ["asynchronous", "network-programming"]
23
24[dependencies]
25native-tls = "0.2"
26tokio = "1.0"
27
28[features]
29vendored = ["native-tls/vendored"]
30
31[dev-dependencies]
32tokio = { version = "1.0", features = ["macros", "rt", "rt-multi-thread", "io-util", "net"] }
33tokio-util = { version = "0.6.0", features = ["full"] }
34
35cfg-if = "0.1"
36env_logger = { version = "0.6", default-features = false }
37futures = { version = "0.3.0", features = ["async-await"] }
38
39tempfile = "3.1"
40lazy_static = "1.4.0"
41
42[target.'cfg(all(not(target_os = "macos"), not(windows), not(target_os = "ios")))'.dev-dependencies]
43openssl = "0.10"
44
45[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dev-dependencies]
46security-framework = "0.2"
47
48[target.'cfg(windows)'.dev-dependencies]
49schannel = "0.1"
50
51[target.'cfg(windows)'.dev-dependencies.winapi]
52version = "0.3"
53features = [
54 "lmcons",
55 "basetsd",
56 "minwinbase",
57 "minwindef",
58 "ntdef",
59 "sysinfoapi",
60 "timezoneapi",
61 "wincrypt",
62 "winerror",
63]
64
65[package.metadata.docs.rs]
66all-features = true
67