summaryrefslogtreecommitdiff
path: root/src/weekday.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/weekday.rs')
-rw-r--r--src/weekday.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/weekday.rs b/src/weekday.rs
index 5679bc7..b5e3f32 100644
--- a/src/weekday.rs
+++ b/src/weekday.rs
@@ -2,15 +2,12 @@ use std::str::FromStr;
use derive_more::Display;
-#[cfg(feature = "serde")]
-use serde::{Deserialize, Serialize};
use thiserror::Error;
use self::Weekday::*;
/// Day of the week
#[derive(Copy, Clone, Eq, PartialEq, Hash, Debug, Display)]
-#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[repr(u8)]
pub enum Weekday {
Monday = 0,