Upgrade websocket transport to soketto 0.3.0. (#1266)

Upgrade websocket transport to soketto 0.3.0.
This commit is contained in:
Toralf Wittner
2019-10-08 11:50:12 +02:00
committed by GitHub
parent 6667fb8016
commit 9921a335e1
7 changed files with 192 additions and 203 deletions

View File

@ -28,7 +28,7 @@
//! > not at all specific to libp2p.
use futures::{prelude::*, io::Initializer};
use std::{cmp, io, marker::PhantomData, pin::Pin, task::Context, task::Poll};
use std::{cmp, io, pin::Pin, task::Context, task::Poll};
/// Wraps around a `Stream + Sink` whose items are buffers. Implements `AsyncRead` and `AsyncWrite`.
///