parent
5333c1a64f
commit
925aade987
@ -1 +1 @@
|
||||
SOURCES/jiff-0.1.15.crate
|
||||
SOURCES/jiff-0.1.16.crate
|
||||
|
@ -1 +1 @@
|
||||
f7e85cd1976e73b24f81f68c844731e524e9255d SOURCES/jiff-0.1.15.crate
|
||||
218aa3d7610d0dfdc35628bf1d39b78bad361a48 SOURCES/jiff-0.1.16.crate
|
||||
|
@ -0,0 +1,109 @@
|
||||
From 684ec78f8f001e65d3778b5e8f0661d41d3c4a8a Mon Sep 17 00:00:00 2001
|
||||
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
|
||||
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 1b413fe..039bc97 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 ebe96e5..93f8f0d 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 79230b4..83c366c 100644
|
||||
--- a/src/timestamp.rs
|
||||
+++ b/src/timestamp.rs
|
||||
@@ -3701,6 +3701,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/zoned.rs b/src/zoned.rs
|
||||
index 1627167..5bea022 100644
|
||||
--- a/src/zoned.rs
|
||||
+++ b/src/zoned.rs
|
||||
@@ -5251,6 +5251,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,
|
||||
--
|
||||
2.47.1
|
||||
|
@ -0,0 +1,22 @@
|
||||
From 692c9f7ebe20450269666cddeca75023c8a34a79 Mon Sep 17 00:00:00 2001
|
||||
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
|
||||
Date: Thu, 26 Dec 2024 16:04:32 -0500
|
||||
Subject: [PATCH] Fix a small typo in CHANGELOG.md
|
||||
|
||||
---
|
||||
CHANGELOG.md | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CHANGELOG.md b/CHANGELOG.md
|
||||
index 6281f33..e0f1c5a 100644
|
||||
--- a/CHANGELOG.md
|
||||
+++ b/CHANGELOG.md
|
||||
@@ -72,7 +72,7 @@ adding duration to now: 2026-02-26T19:00:57-05:00[America/New_York]
|
||||
With Jiff, you should no longer need to pull in crates like
|
||||
[`humantime`](https://docs.rs/humantime) and
|
||||
[`humantime-serde`](https://docs.rs/humantime-serde)
|
||||
-to accomplished a similar task.
|
||||
+to accomplish a similar task.
|
||||
|
||||
While this new format doesn't support any kind of internationalization, the
|
||||
prevalence of the `humantime` crate suggests there's a desire for something
|
Loading…
Reference in new issue