tokio-rustls/Cargo.toml
Erick Tryzelaar 6f1787e9d1 Shrink down the dependency on tokio
it turns out that tokio-rustls only requires a small portion of
the tokio stack. This patch slims down the dependencies since not
all clients need the full tokio stack.
2019-01-11 14:31:45 -08:00

33 lines
955 B
TOML

[package]
name = "tokio-rustls"
version = "0.8.0"
authors = ["quininer kel <quininer@live.com>"]
license = "MIT/Apache-2.0"
repository = "https://github.com/quininer/tokio-rustls"
homepage = "https://github.com/quininer/tokio-rustls"
documentation = "https://docs.rs/tokio-rustls"
readme = "README.md"
description = "Asynchronous TLS/SSL streams for Tokio using Rustls."
categories = ["asynchronous", "cryptography", "network-programming"]
[badges]
travis-ci = { repository = "quininer/tokio-rustls" }
appveyor = { repository = "quininer/tokio-rustls" }
[dependencies]
futures = { version = "0.1", optional = true }
tokio-io = { version = "0.1.6", optional = true }
bytes = { version = "0.4", optional = true }
iovec = { version = "0.1", optional = true }
rustls = "0.14"
webpki = "0.18.1"
[dev-dependencies]
tokio = "0.1.6"
lazy_static = "1"
[features]
default = ["tokio-support"]
nightly = ["bytes", "iovec"]
tokio-support = ["futures", "tokio-io"]