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]
futures-core = { 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"
webpki = "0.18.0-alpha"
[dev-dependencies]
futures = "0.2.0"
tokio = "0.1.5"
tokio = "0.1.6"
[features]
default = [ "tokio" ]
unstable-futures = [
"futures-core",
"futures-io",
"tokio/unstable-futures"
]
# unstable-futures = [
# "futures-core",
# "futures-io",
# "tokio/unstable-futures"
# ]

View File

@ -5,9 +5,9 @@ authors = ["quininer <quininer@live.com>"]
[dependencies]
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" ] }
futures = "0.2.0-beta"
tokio = { version = "0.1.6" }
# futures = "0.2.0-beta"
clap = "2.26"