Update tokio

This commit is contained in:
quininer 2019-07-21 19:12:10 +08:00
parent 2f4419b285
commit 9daf87a17a
3 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ appveyor = { repository = "quininer/tokio-rustls" }
[dependencies]
smallvec = "0.6"
tokio-io = { git = "https://github.com/tokio-rs/tokio" }
tokio-futures = { git = "https://github.com/tokio-rs/tokio" }
futures-core-preview = "0.3.0-alpha.17"
rustls = "0.15"
webpki = "0.19"

View File

@ -4,7 +4,7 @@ use std::marker::Unpin;
use std::io::{ self, Read, Write };
use rustls::Session;
use tokio_io::{ AsyncRead, AsyncWrite };
use tokio_futures as futures;
use futures_core as futures;
pub struct Stream<'a, IO, S> {

View File

@ -13,7 +13,7 @@ use std::pin::Pin;
use std::future::Future;
use std::task::{ Poll, Context };
use tokio_io::{ AsyncRead, AsyncWrite };
use tokio_futures as futures;
use futures_core as futures;
use rustls::{ ClientConfig, ClientSession, ServerConfig, ServerSession };
use webpki::DNSNameRef;
use common::Stream;