summaryrefslogtreecommitdiff
path: root/src/month.rs
diff options
context:
space:
mode:
authorBotahamec <botahamec@outlook.com>2021-12-27 17:07:31 -0500
committerBotahamec <botahamec@outlook.com>2021-12-27 17:07:31 -0500
commit561ec37ecfdb0cca9f3f0bfcab93e923bb9727be (patch)
tree7759ab651203dc533a5f1668f48b836bacbbea00 /src/month.rs
parentae55992cae51223690e5cead065425748529b753 (diff)
Removed serde
Diffstat (limited to 'src/month.rs')
-rw-r--r--src/month.rs3
1 files changed, 0 insertions, 3 deletions
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,