Ignore 'unused_imports' warning on cfg-based 'FutureExt'.

This commit is contained in:
Sergio Benitez 2020-06-22 04:54:34 -07:00
parent 1704ff7743
commit dd5b518cc2
1 changed files with 3 additions and 1 deletions

View File

@ -3,8 +3,10 @@ use std::cmp::min;
use std::sync::Arc; use std::sync::Arc;
use std::collections::HashMap; use std::collections::HashMap;
#[allow(unused_imports)]
use futures::future::FutureExt;
use futures::stream::StreamExt; use futures::stream::StreamExt;
use futures::future::{Future, FutureExt, BoxFuture}; use futures::future::{Future, BoxFuture};
use tokio::sync::{mpsc, oneshot}; use tokio::sync::{mpsc, oneshot};
use yansi::Paint; use yansi::Paint;