From 561ec37ecfdb0cca9f3f0bfcab93e923bb9727be Mon Sep 17 00:00:00 2001 From: Botahamec Date: Mon, 27 Dec 2021 17:07:31 -0500 Subject: Removed serde --- src/month.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/month.rs') diff --git a/src/month.rs b/src/month.rs index 66360ef..ebb95e1 100644 --- a/src/month.rs +++ b/src/month.rs @@ -1,7 +1,5 @@ use derive_more::Display; -#[cfg(feature = "serde")] -use serde::{Deserialize, Serialize}; use thiserror::Error; use self::Month::*; @@ -10,7 +8,6 @@ use core::str::FromStr; /// Months of the year #[derive(Copy, Clone, Eq, PartialEq, Hash, Debug, Display)] -#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] #[repr(u8)] pub enum Month { January = 1, -- cgit v1.2.3