|
|
@ -105,7 +105,7 @@ async fn normal(cfg: config::Config) -> eyre::Result<()>
|
|
|
|
// `.2` indicates if we should compress while in normal write mode.
|
|
|
|
// `.2` indicates if we should compress while in normal write mode.
|
|
|
|
Some((stream_fut, None, compress)) => {
|
|
|
|
Some((stream_fut, None, compress)) => {
|
|
|
|
let stream = stream_fut.await?;
|
|
|
|
let stream = stream_fut.await?;
|
|
|
|
serial::write_async(stream, &graph, compress).await // TODO: raw version, how to implement?
|
|
|
|
serial::write_async(stream, &graph, compress).await
|
|
|
|
.wrap_err(eyre!("Failed to serialise graph to stream"))?;
|
|
|
|
.wrap_err(eyre!("Failed to serialise graph to stream"))?;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
#[cfg(feature="prealloc")] Some((_task_fut, Some(output_file), _)) => {
|
|
|
|
#[cfg(feature="prealloc")] Some((_task_fut, Some(output_file), _)) => {
|
|
|
|