From 6398b27044c66a8907ba2570532455e021793f56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 25 Mar 2020 14:02:47 +0200 Subject: [PATCH] Add the "std" feature to the futures-io dependency Otherwise AsyncRead/AsyncWrite are not available. Fixes https://github.com/sdroege/async-tungstenite/issues/18 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 03b957e..47d6d36 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ features = ["async-std-runtime", "tokio-runtime", "gio-runtime", "async-tls", "a [dependencies] log = "0.4" futures-util = { version = "0.3", default-features = false, features = ["async-await", "sink", "std"] } -futures-io = { version = "0.3", default-features = false } +futures-io = { version = "0.3", default-features = false, features = ["std"] } pin-project = "0.4" [dependencies.tungstenite]