summaryrefslogtreecommitdiff
path: root/src/weekday.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/weekday.rs
parentae55992cae51223690e5cead065425748529b753 (diff)
Removed serde
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,