Showing the changes to gitoxide-core/src/commitgraph (1 of 116 files). Show all
Unified · Split
| @@ -46,10 +46,10 @@ where · 45 unmodified lines | |||
| 46 | .verify_integrity(noop_processor) | 46 | .verify_integrity(noop_processor) |
| 47 | .with_context(|| "Verification failure")?; | 47 | .with_context(|| "Verification failure")?; |
| 48 | 48 | ||
| 49 | #[cfg_attr(not(feature = "serde1"), allow(clippy::single_match))] | 49 | #[cfg_attr(not(feature = "serde"), allow(clippy::single_match))] |
| 50 | match output_statistics { | 50 | match output_statistics { |
| 51 | Some(OutputFormat::Human) => drop(print_human_output(&mut out, &stats)), | 51 | Some(OutputFormat::Human) => drop(print_human_output(&mut out, &stats)), |
| 52 | #[cfg(feature = "serde1")] | 52 | #[cfg(feature = "serde")] |
| 53 | Some(OutputFormat::Json) => serde_json::to_writer_pretty(out, &stats)?, | 53 | Some(OutputFormat::Json) => serde_json::to_writer_pretty(out, &stats)?, |
| 54 | _ => {} | 54 | _ => {} |
| 55 | } | 55 | } |