diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-01-30 15:18:53 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-01-30 15:18:53 +0100 |
commit | a91435fe5c043402df9c3ddeba114fb424fce1bc (patch) | |
tree | 6030f0a711f46bc9e05a4bc8642001015de4fe1d /src/commands/build.rs | |
parent | 6c719e76a08a3cf27fc7caa6479427561d3c35ed (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.rs | 2 |
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; |