From ced17d2cdce5c996576c621776b1e28b89d8abb0 Mon Sep 17 00:00:00 2001 From: golem131 Date: Mon, 27 Nov 2017 11:49:26 +0300 Subject: [PATCH] - futures 0.1.14 -> 0.1.17 - 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 --- Cargo.toml | 8 ++++---- tests/simple_framed.rs | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1ced5498..c406f0e0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/tests/simple_framed.rs b/tests/simple_framed.rs index a7a60edf..9169ad5a 100644 --- a/tests/simple_framed.rs +++ b/tests/simple_framed.rs @@ -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; @@ -98,7 +98,7 @@ impl Service for TestService { type Request = Message>; type Response = Message>; type Error = io::Error; - type Future = BoxFuture; + type Future = Box>; fn call(&self, _: Self::Request) -> Self::Future { unimplemented!();