From 18ee5d498365e16dce9d22baf119e457911b1322 Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Mon, 27 Jul 2020 00:45:19 -0700 Subject: [PATCH] fix: enable used but missing stream feature on tokio --- sqlx-rt/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlx-rt/Cargo.toml b/sqlx-rt/Cargo.toml index 3aee80fc..82eb89b2 100644 --- a/sqlx-rt/Cargo.toml +++ b/sqlx-rt/Cargo.toml @@ -20,7 +20,7 @@ async-native-tls = { version = "0.3.3", optional = true } actix-rt = { version = "1.1.1", optional = true } actix-threadpool = { version = "0.3.2", optional = true } async-std = { version = "1.6.0", features = [ "unstable" ], optional = true } -tokio = { version = "0.2.21", optional = true, features = [ "blocking", "fs", "tcp", "uds", "macros", "rt-core", "rt-threaded", "time", "dns", "io-util" ] } +tokio = { version = "0.2.21", optional = true, features = [ "blocking", "stream", "fs", "tcp", "uds", "macros", "rt-core", "rt-threaded", "time", "dns", "io-util" ] } tokio-native-tls = { version = "0.1.0", optional = true } native-tls = "0.2.4" once_cell = { version = "1.4", features = ["std"], optional = true }