|
|
@ -134,7 +134,7 @@ async fn normal(cfg: config::Config) -> eyre::Result<()>
|
|
|
|
|
|
|
|
|
|
|
|
//#[cfg(debug_assertions)] cfg_eprintln!(Verbose; cfg, "{:?}", graph);
|
|
|
|
//#[cfg(debug_assertions)] cfg_eprintln!(Verbose; cfg, "{:?}", graph);
|
|
|
|
|
|
|
|
|
|
|
|
use futures::future::OptionFuture;
|
|
|
|
#[allow(unused_imports)] use futures::future::OptionFuture;
|
|
|
|
let (graph, writer) = {
|
|
|
|
let (graph, writer) = {
|
|
|
|
cfg_if!{
|
|
|
|
cfg_if!{
|
|
|
|
if #[cfg(feature="inspect")] {
|
|
|
|
if #[cfg(feature="inspect")] {
|
|
|
@ -146,7 +146,7 @@ async fn normal(cfg: config::Config) -> eyre::Result<()>
|
|
|
|
};
|
|
|
|
};
|
|
|
|
(g, OptionFuture::from(w))
|
|
|
|
(g, OptionFuture::from(w))
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
(graph, OptionFuture::from(Option::<futures::future::BoxFuture<'static, ()>>::None))
|
|
|
|
(graph, ())//OptionFuture::from(Option::<futures::future::BoxFuture<'static, ()>>::None))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|