rename tokio feature
This commit is contained in:
parent
3faca3ee3d
commit
4a2354c1cc
@ -25,5 +25,5 @@ webpki = "0.18.1"
|
|||||||
tokio = "0.1.6"
|
tokio = "0.1.6"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = [ "tokio_impl" ]
|
default = [ "tokio-support" ]
|
||||||
tokio_impl = [ "tokio", "bytes", "iovec" ]
|
tokio-support = [ "tokio", "bytes", "iovec" ]
|
||||||
|
@ -5,11 +5,9 @@ authors = ["quininer <quininer@live.com>"]
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
webpki = "0.18.1"
|
webpki = "0.18.1"
|
||||||
tokio-rustls = { path = "../..", default-features = false, features = [ "tokio" ] }
|
tokio-rustls = { path = "../.." }
|
||||||
|
|
||||||
tokio = "0.1"
|
tokio = "0.1"
|
||||||
|
clap = "2"
|
||||||
clap = "2.26"
|
|
||||||
webpki-roots = "0.15"
|
webpki-roots = "0.15"
|
||||||
|
|
||||||
[target.'cfg(unix)'.dependencies]
|
[target.'cfg(unix)'.dependencies]
|
||||||
|
@ -4,9 +4,6 @@ version = "0.1.0"
|
|||||||
authors = ["quininer <quininer@live.com>"]
|
authors = ["quininer <quininer@live.com>"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tokio-rustls = { path = "../..", default-features = false, features = [ "tokio" ] }
|
tokio-rustls = { path = "../.." }
|
||||||
|
|
||||||
tokio = { version = "0.1.6" }
|
tokio = { version = "0.1.6" }
|
||||||
# futures = "0.2.0-beta"
|
clap = "2"
|
||||||
|
|
||||||
clap = "2.26"
|
|
||||||
|
@ -11,7 +11,7 @@ extern crate iovec;
|
|||||||
|
|
||||||
|
|
||||||
mod common;
|
mod common;
|
||||||
#[cfg(feature = "tokio_impl")] mod tokio_impl;
|
#[cfg(feature = "tokio-support")] mod tokio_impl;
|
||||||
|
|
||||||
use std::io;
|
use std::io;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
Loading…
Reference in New Issue
Block a user