From e4a1d4bf78ca07227ecc41d715dd9397a9a7ee3e Mon Sep 17 00:00:00 2001 From: Ferris Tseng Date: Mon, 14 Oct 2019 16:06:12 -0400 Subject: add dyn to types for actix feature --- ipfs-api/src/client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipfs-api') diff --git a/ipfs-api/src/client.rs b/ipfs-api/src/client.rs index 994ab99..5d44c7c 100644 --- a/ipfs-api/src/client.rs +++ b/ipfs-api/src/client.rs @@ -41,14 +41,14 @@ use tokio_codec::{Decoder, FramedRead}; /// A response returned by the HTTP client. /// #[cfg(feature = "actix")] -type AsyncResponse = Box + 'static>; +type AsyncResponse = Box + 'static>; #[cfg(feature = "hyper")] type AsyncResponse = Box + Send + 'static>; /// A future that returns a stream of responses. /// #[cfg(feature = "actix")] -type AsyncStreamResponse = Box + 'static>; +type AsyncStreamResponse = Box + 'static>; #[cfg(feature = "hyper")] type AsyncStreamResponse = Box + Send + 'static>; -- cgit v1.2.3