Skip to content

Commit

Permalink
Replace import of tokio::stream::StreamExt
Browse files Browse the repository at this point in the history
Use `futures::stream::StreamExt` instead, because newer versions of
Tokio don't have the `stream` feature.
  • Loading branch information
jvff committed Nov 2, 2021
1 parent 10a45f7 commit 4fc5531
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions zebra-consensus/src/checkpoint/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ use super::types::Progress::*;
use super::types::TargetHeight::*;

use color_eyre::eyre::{eyre, Report};
use futures::{future::TryFutureExt, stream::FuturesUnordered};
use futures::{
future::TryFutureExt,
stream::{FuturesUnordered, StreamExt},
};
use std::{cmp::min, convert::TryInto, mem::drop, time::Duration};
use tokio::{stream::StreamExt, time::timeout};
use tokio::time::timeout;
use tower::{Service, ServiceExt};
use tracing_futures::Instrument;

Expand Down

0 comments on commit 4fc5531

Please sign in to comment.