summaryrefslogtreecommitdiffstats
path: root/src/commands/build.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-01-30 15:18:53 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-01-30 15:18:53 +0100
commita91435fe5c043402df9c3ddeba114fb424fce1bc (patch)
tree6030f0a711f46bc9e05a4bc8642001015de4fe1d /src/commands/build.rs
parent6c719e76a08a3cf27fc7caa6479427561d3c35ed (diff)
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 <mail@beyermatthias.de>
Diffstat (limited to 'src/commands/build.rs')
-rw-r--r--src/commands/build.rs2
1 files changed, 1 insertions, 1 deletions
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;