Update tokio
This commit is contained in:
parent
2f4419b285
commit
9daf87a17a
@ -18,7 +18,7 @@ appveyor = { repository = "quininer/tokio-rustls" }
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
smallvec = "0.6"
|
smallvec = "0.6"
|
||||||
tokio-io = { git = "https://github.com/tokio-rs/tokio" }
|
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"
|
rustls = "0.15"
|
||||||
webpki = "0.19"
|
webpki = "0.19"
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ use std::marker::Unpin;
|
|||||||
use std::io::{ self, Read, Write };
|
use std::io::{ self, Read, Write };
|
||||||
use rustls::Session;
|
use rustls::Session;
|
||||||
use tokio_io::{ AsyncRead, AsyncWrite };
|
use tokio_io::{ AsyncRead, AsyncWrite };
|
||||||
use tokio_futures as futures;
|
use futures_core as futures;
|
||||||
|
|
||||||
|
|
||||||
pub struct Stream<'a, IO, S> {
|
pub struct Stream<'a, IO, S> {
|
||||||
|
@ -13,7 +13,7 @@ use std::pin::Pin;
|
|||||||
use std::future::Future;
|
use std::future::Future;
|
||||||
use std::task::{ Poll, Context };
|
use std::task::{ Poll, Context };
|
||||||
use tokio_io::{ AsyncRead, AsyncWrite };
|
use tokio_io::{ AsyncRead, AsyncWrite };
|
||||||
use tokio_futures as futures;
|
use futures_core as futures;
|
||||||
use rustls::{ ClientConfig, ClientSession, ServerConfig, ServerSession };
|
use rustls::{ ClientConfig, ClientSession, ServerConfig, ServerSession };
|
||||||
use webpki::DNSNameRef;
|
use webpki::DNSNameRef;
|
||||||
use common::Stream;
|
use common::Stream;
|
||||||
|
Loading…
Reference in New Issue
Block a user