Skip to content
This repository has been archived by the owner on Sep 13, 2018. It is now read-only.

Commit

Permalink
- futures 0.1.14 -> 0.1.17
Browse files Browse the repository at this point in the history
- log 0.3.6 -> 0.3.9
- slab 0.3 -> 0.4
- smallvec 0.4.0 -> 0.6.0
- tokio-core 0.1.8 -> 0.1.12

Fixed BoxFuture-related warnings
  • Loading branch information
golem131 committed Jan 11, 2018
1 parent 52b7b11 commit ced17d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ exclude = [
]

[dependencies]
futures = "0.1.14"
log = "0.3.6"
futures = "0.1.17"
log = "0.3.9"
net2 = "0.2"
smallvec = "0.4.0"
tokio-core = "0.1.8"
smallvec = "0.6"
tokio-core = "0.1.12"
tokio-service = "0.1"
tokio-io = "0.1"

Expand Down
4 changes: 2 additions & 2 deletions tests/simple_framed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ extern crate bytes;
use std::io;

use bytes::BytesMut;
use futures::BoxFuture;
use futures::Future;
use tokio_io::{AsyncRead, AsyncWrite};
use tokio_io::codec::{Encoder, Decoder, Framed};
use tokio_proto::TcpServer;
Expand Down Expand Up @@ -98,7 +98,7 @@ impl Service for TestService {
type Request = Message<u32, Body<(), io::Error>>;
type Response = Message<u32, Body<u32, io::Error>>;
type Error = io::Error;
type Future = BoxFuture<Self::Response, io::Error>;
type Future = Box<Future<Item = Self::Response, Error = io::Error>>;

fn call(&self, _: Self::Request) -> Self::Future {
unimplemented!();
Expand Down

0 comments on commit ced17d2

Please sign in to comment.