Repository: time-rs/time (language: rust)

Issue:
Relax back `serde` dependency
Hello I think the dependency can be now relaxed

https://github.com/serde-rs/serde/releases
https://github.com/serde-rs/serde/pull/2590

The precompiled binaries in the existing serde_derive versions have after long manual effort + process been ~reasonably audited / ~~reproducible~~ reverse-engineered (kind of) to some degrees so it may be perhaps fine to relax back to full range of possible versions - looking for input on this.

EDIT: Sadly cargo does not support relaxing two sets of ranges so would have to relax either 1) all or 2) provide cfg-gating



Discussion / hints:

Fix patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2c067e422..c89697f32 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog]. This project adheres to [Semantic Ver
 
 ---
 
+## 0.3.27 [2023-08-22]
+
+This sets the `serde` dependency requirement to `>= 1.0.184` where the binaries have been removed.
+
 ## 0.3.26 [2023-08-18]
 
 This release contains only a single change. `serde` is required to be a version prior to 1.0.171.
diff --git a/Cargo.toml b/Cargo.toml
index a46e7a123..b623f8557 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,7 +5,7 @@ resolver = "2"
 
 [workspace.dependencies]
 time-core = { path = "time-core", version = "=0.1.1" }
-time-macros = { path = "time-macros", version = "=0.2.12" }
+time-macros = { path = "time-macros", version = "=0.2.13" }
 
 criterion = { version = "0.5.1", default-features = false }
 deranged = { version = "0.3.7", default-features = false }
@@ -16,8 +16,8 @@ num_threads = "0.1.2"
 quickcheck = { version = "1.0.3", default-features = false }
 quickcheck_macros = "1.0.0"
 rand = { version = "0.8.4", default-features = false }
-# <= 1.0.171 due to serde-rs/serde#2538
-serde = { version = ">= 1.0.126, <= 1.0.171", default-features = false }
+# ^1.0.184 due to serde-rs/serde#2538
+serde = { version = "1.0.184", default-features = false }
 serde_json = "1.0.68"
 serde_test = "1.0.126"
 trybuild = "1.0.68"
diff --git a/time-macros/Cargo.toml b/time-macros/Cargo.toml
index a234db32a..9fb2c2237 100644
--- a/time-macros/Cargo.toml
+++ b/time-macros/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "time-macros"
-version = "0.2.12"
+version = "0.2.13"
 authors = ["Jacob Pratt <open-source@jhpratt.dev>", "Time contributors"]
 edition = "2021"
 rust-version = "1.67.0"
diff --git a/time/Cargo.toml b/time/Cargo.toml
index e4f597c70..b5642673b 100644
--- a/time/Cargo.toml
+++ b/time/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "time"
-version = "0.3.26"
+version = "0.3.27"
 authors = ["Jacob Pratt <open-source@jhpratt.dev>", "Time contributors"]
 edition = "2021"
 rust-version = "1.67.0"


Test patch: