From cc1d9dff0b581f8a33268b3d2495b60d2b770d4c Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 26 Dec 2024 18:51:44 -0500 Subject: [PATCH] Downstream-only: omit tests that require serde_yml --- src/civil/date.rs | 2 ++ src/civil/datetime.rs | 2 ++ src/civil/time.rs | 2 ++ src/signed_duration.rs | 2 ++ src/span.rs | 2 ++ src/timestamp.rs | 2 ++ src/zoned.rs | 2 ++ 7 files changed, 14 insertions(+) diff --git a/src/civil/date.rs b/src/civil/date.rs index 214c988..9a35c0b 100644 --- a/src/civil/date.rs +++ b/src/civil/date.rs @@ -4009,6 +4009,8 @@ mod tests { } } + // Downstream-only: omit tests that require serde_yml + #[cfg(any())] /// # `serde` deserializer compatibility test /// /// Serde YAML used to be unable to deserialize `jiff` types, diff --git a/src/civil/datetime.rs b/src/civil/datetime.rs index e1249b3..ea14006 100644 --- a/src/civil/datetime.rs +++ b/src/civil/datetime.rs @@ -4280,6 +4280,8 @@ mod tests { } } + // Downstream-only: omit tests that require serde_yml + #[cfg(any())] /// # `serde` deserializer compatibility test /// /// Serde YAML used to be unable to deserialize `jiff` types, diff --git a/src/civil/time.rs b/src/civil/time.rs index c7d252b..dc8ca9f 100644 --- a/src/civil/time.rs +++ b/src/civil/time.rs @@ -3363,6 +3363,8 @@ mod tests { assert_eq!(got, expected); } + // Downstream-only: omit tests that require serde_yml + #[cfg(any())] /// # `serde` deserializer compatibility test /// /// Serde YAML used to be unable to deserialize `jiff` types, diff --git a/src/signed_duration.rs b/src/signed_duration.rs index f002d7c..8e8a42b 100644 --- a/src/signed_duration.rs +++ b/src/signed_duration.rs @@ -2255,6 +2255,8 @@ mod tests { assert_eq!(None, add((i64::MIN, -1), (0, -999_999_999))); } + // Downstream-only: omit tests that require serde_yml + #[cfg(any())] /// # `serde` deserializer compatibility test /// /// Serde YAML used to be unable to deserialize `jiff` types, diff --git a/src/span.rs b/src/span.rs index 9a00d04..ffad9d2 100644 --- a/src/span.rs +++ b/src/span.rs @@ -6464,6 +6464,8 @@ mod tests { } } + // Downstream-only: omit tests that require serde_yml + #[cfg(any())] /// # `serde` deserializer compatibility test /// /// Serde YAML used to be unable to deserialize `jiff` types, diff --git a/src/timestamp.rs b/src/timestamp.rs index 88ae03b..5cdd65b 100644 --- a/src/timestamp.rs +++ b/src/timestamp.rs @@ -3700,6 +3700,8 @@ mod tests { } } + // Downstream-only: omit tests that require serde_yml + #[cfg(any())] /// A `serde` deserializer compatibility test. /// /// Serde YAML used to be unable to deserialize `jiff` types, diff --git a/src/zoned.rs b/src/zoned.rs index 70e88e7..80e9b26 100644 --- a/src/zoned.rs +++ b/src/zoned.rs @@ -5264,6 +5264,8 @@ mod tests { } } + // Downstream-only: omit tests that require serde_yml + #[cfg(any())] /// A `serde` deserializer compatibility test. /// /// Serde YAML used to be unable to deserialize `jiff` types, -- 2.47.1