From a91435fe5c043402df9c3ddeba114fb424fce1bc Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 30 Jan 2021 15:18:53 +0100 Subject: Update tokio: 0.2 -> 1.0, shiplift Because tokio 1.0 does not ship with the Stream trait, this patch also introduces tokio_stream as new dependency. For more information, look here: https://docs.rs/tokio/1.0.3/tokio/stream/index.html Signed-off-by: Matthias Beyer --- src/commands/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/build.rs') diff --git a/src/commands/build.rs b/src/commands/build.rs index 86f205b..3f168fa 100644 --- a/src/commands/build.rs +++ b/src/commands/build.rs @@ -25,8 +25,8 @@ use diesel::QueryDsl; use diesel::RunQueryDsl; use itertools::Itertools; use log::{debug, info, trace, warn}; -use tokio::stream::StreamExt; use tokio::sync::RwLock; +use tokio_stream::StreamExt; use crate::config::*; use crate::filestore::path::StoreRoot; -- cgit v1.2.3