From 505ab2092c82fe54aeb4fd8ae93cc60be75bbbae Mon Sep 17 00:00:00 2001 From: Adrian Wowk Date: Wed, 29 May 2024 13:01:17 -0500 Subject: [PATCH] fix: remove unnecessary serde tags --- kicad_format/src/common/mod.rs | 1 - kicad_format/src/common/symbol.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/kicad_format/src/common/mod.rs b/kicad_format/src/common/mod.rs index 45545bb..a4964fa 100644 --- a/kicad_format/src/common/mod.rs +++ b/kicad_format/src/common/mod.rs @@ -1013,7 +1013,6 @@ impl ToSexpr for Image { #[repr(u8)] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[cfg_attr(feature = "serde", serde(rename_all = "snake_case"))] -#[cfg_attr(feature = "serde", serde(tag = "type"))] #[derive(Debug, PartialEq, Clone, Copy)] pub enum LayerId { FCu, diff --git a/kicad_format/src/common/symbol.rs b/kicad_format/src/common/symbol.rs index 748e3bb..0b210bf 100644 --- a/kicad_format/src/common/symbol.rs +++ b/kicad_format/src/common/symbol.rs @@ -95,7 +95,6 @@ impl ToSexpr for LibSymbol { #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[cfg_attr(feature = "serde", serde(rename_all = "snake_case"))] -#[cfg_attr(feature = "serde", serde(tag = "type"))] #[derive(Debug, PartialEq, Clone)] pub struct LibSymbolSubUnit { pub id: UnitId,