summaryrefslogtreecommitdiffstats
path: root/vendor/gix-date/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gix-date/src/lib.rs')
-rw-r--r--vendor/gix-date/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/gix-date/src/lib.rs b/vendor/gix-date/src/lib.rs
index 4a821ffb6..736f5e598 100644
--- a/vendor/gix-date/src/lib.rs
+++ b/vendor/gix-date/src/lib.rs
@@ -19,7 +19,7 @@ pub use parse::function::parse;
/// A timestamp with timezone.
#[derive(PartialEq, Eq, Debug, Hash, Ord, PartialOrd, Clone, Copy)]
-#[cfg_attr(feature = "serde1", derive(serde::Serialize, serde::Deserialize))]
+#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct Time {
/// time in seconds since epoch.
pub seconds_since_unix_epoch: u32,