61 lines
1.5 KiB
TOML
61 lines
1.5 KiB
TOML
|
[package]
|
||
|
name = "tokio-native-tls"
|
||
|
# When releasing to crates.io:
|
||
|
# - Remove path dependencies
|
||
|
# - Update html_root_url.
|
||
|
# - Update doc url
|
||
|
# - Cargo.toml
|
||
|
# - README.md
|
||
|
# - Update CHANGELOG.md.
|
||
|
# - Create "v0.1.x" git tag.
|
||
|
version = "0.1.0"
|
||
|
edition = "2018"
|
||
|
authors = ["Tokio Contributors <team@tokio.rs>"]
|
||
|
license = "MIT"
|
||
|
repository = "https://github.com/tokio-rs/tls"
|
||
|
homepage = "https://tokio.rs"
|
||
|
documentation = "https://docs.rs/tokio-native-tls/0.1.0/tokio_native_tls/"
|
||
|
description = """
|
||
|
An implementation of TLS/SSL streams for Tokio using native-tls giving an implementation of TLS
|
||
|
for nonblocking I/O streams.
|
||
|
"""
|
||
|
categories = ["asynchronous", "network-programming"]
|
||
|
|
||
|
[dependencies]
|
||
|
native-tls = "0.2"
|
||
|
tokio = { version = "0.2.0" }
|
||
|
|
||
|
[dev-dependencies]
|
||
|
tokio = { version = "0.2.0", features = ["macros", "stream", "rt-core", "io-util", "net"] }
|
||
|
tokio-util = { version = "0.2.0", features = ["full"] }
|
||
|
|
||
|
cfg-if = "0.1"
|
||
|
env_logger = { version = "0.6", default-features = false }
|
||
|
futures = { version = "0.3.0", features = ["async-await"] }
|
||
|
|
||
|
[target.'cfg(all(not(target_os = "macos"), not(windows), not(target_os = "ios")))'.dev-dependencies]
|
||
|
openssl = "0.10"
|
||
|
|
||
|
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dev-dependencies]
|
||
|
security-framework = "0.2"
|
||
|
|
||
|
[target.'cfg(windows)'.dev-dependencies]
|
||
|
schannel = "0.1"
|
||
|
|
||
|
[target.'cfg(windows)'.dev-dependencies.winapi]
|
||
|
version = "0.3"
|
||
|
features = [
|
||
|
"lmcons",
|
||
|
"basetsd",
|
||
|
"minwinbase",
|
||
|
"minwindef",
|
||
|
"ntdef",
|
||
|
"sysinfoapi",
|
||
|
"timezoneapi",
|
||
|
"wincrypt",
|
||
|
"winerror",
|
||
|
]
|
||
|
|
||
|
[package.metadata.docs.rs]
|
||
|
all-features = true
|