change: temporarily remove futures 0.2 support

This commit is contained in:
quininer 2018-05-03 12:09:08 +08:00
parent be00ca6168
commit 8fc4084e06
2 changed files with 10 additions and 10 deletions

View File

@ -17,18 +17,18 @@ appveyor = { repository = "quininer/tokio-rustls" }
[dependencies] [dependencies]
futures-core = { version = "0.2.0", optional = true } futures-core = { version = "0.2.0", optional = true }
futures-io = { version = "0.2.0", optional = true } futures-io = { version = "0.2.0", optional = true }
tokio = { version = "0.1.5", optional = true } tokio = { version = "0.1.6", optional = true }
rustls = "0.12" rustls = "0.12"
webpki = "0.18.0-alpha" webpki = "0.18.0-alpha"
[dev-dependencies] [dev-dependencies]
futures = "0.2.0" futures = "0.2.0"
tokio = "0.1.5" tokio = "0.1.6"
[features] [features]
default = [ "tokio" ] default = [ "tokio" ]
unstable-futures = [ # unstable-futures = [
"futures-core", # "futures-core",
"futures-io", # "futures-io",
"tokio/unstable-futures" # "tokio/unstable-futures"
] # ]

View File

@ -5,9 +5,9 @@ authors = ["quininer <quininer@live.com>"]
[dependencies] [dependencies]
rustls = "0.12" rustls = "0.12"
tokio-rustls = { path = "../..", default-features = false, features = [ "unstable-futures" ] } tokio-rustls = { path = "../..", default-features = false, features = [ "tokio" ] }
tokio = { version = "0.1.5", features = [ "unstable-futures" ] } tokio = { version = "0.1.6" }
futures = "0.2.0-beta" # futures = "0.2.0-beta"
clap = "2.26" clap = "2.26"