History

rename the serde1 feature to serde

Tim Vilgot Mikael Fredenberg committed 3 years ago

Commit 19338d91 parent 3d47919116 files · +246 −246Browse files

Showing the changes to gitoxide-core/src/commitgraph (1 of 116 files). Show all

Unified · Split

gitoxide-core/src/commitgraph/verify.rs+2−2
@@ -46,10 +46,10 @@ where · 45 unmodified lines
4646 .verify_integrity(noop_processor)
4747 .with_context(|| "Verification failure")?;
4848
49− #[cfg_attr(not(feature = "serde1"), allow(clippy::single_match))]
49+ #[cfg_attr(not(feature = "serde"), allow(clippy::single_match))]
5050 match output_statistics {
5151 Some(OutputFormat::Human) => drop(print_human_output(&mut out, &stats)),
52− #[cfg(feature = "serde1")]
52+ #[cfg(feature = "serde")]
5353 Some(OutputFormat::Json) => serde_json::to_writer_pretty(out, &stats)?,
5454 _ => {}
5555 }