public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Andreas Schneider <asn@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-tokio-serde] rawhide: Update to version 0.9.0
Date: Wed, 02 Dec 2026 06:05:07 GMT	[thread overview]
Message-ID: <179619150744.1.7683383447252302000.rpms-rust-tokio-serde-877a1767c08f@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-tokio-serde
Branch : rawhide
Commit : 877a1767c08fdfa93e9cbc7b50ec9abbd9d2e31b
Author : Andreas Schneider <asn@redhat.com>
Date   : 2026-11-26T09:19:53+01:00
Stats  : +7/-109 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-tokio-serde/c/877a1767c08fdfa93e9cbc7b50ec9abbd9d2e31b?branch=rawhide

Log:
Update to version 0.9.0

---
diff --git a/.gitignore b/.gitignore
index 11c14e7..d01e2c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /tokio-serde-0.8.0.crate
+/tokio-serde-0.9.0.crate

diff --git a/rust-tokio-serde.spec b/rust-tokio-serde.spec
index 2cd2866..d0dce60 100644
--- a/rust-tokio-serde.spec
+++ b/rust-tokio-serde.spec
@@ -5,7 +5,7 @@
 %global crate tokio-serde
 
 Name:           rust-tokio-serde
-Version:        0.8.0
+Version:        0.9.0
 Release:        %autorelease
 Summary:        Send and receive Serde encodable types over the network using Tokio
 
@@ -15,11 +15,7 @@ Source:         %{crates_source}
 # Manually created patch for downstream crate metadata changes
 # * Allow educe versions up to 0.8;
 #   https://github.com/carllerche/tokio-serde/pull/37
-# * Allow rmp-serde 1, which is what Fedora ships (upstream requires 0.15)
 Patch:          tokio-serde-fix-metadata.diff
-# * Fix possible issues with educe and newer rust editions
-# * https://github.com/carllerche/tokio-serde/commit/a699aa4fa306c276644a5fe877128340a5d9b458
-Patch1:         tokio-serde-educe.patch
 
 BuildRequires:  cargo-rpm-macros >= 24
 

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 44c495c..49243f6 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,13 +1,4 @@
 [package]
 cargo-toml-patch-comments = [
     "Allow educe versions up to 0.8; https://github.com/carllerche/tokio-serde/pull/37",
-    "Allow rmp-serde 1, which is what Fedora ships (upstream requires 0.15)"
-]
-
-[[package.extra-patches]]
-number = 1
-file = "tokio-serde-educe.patch"
-comments = [
-    "Fix possible issues with educe and newer rust editions",
-    "https://github.com/carllerche/tokio-serde/commit/a699aa4fa306c276644a5fe877128340a5d9b458"
 ]

diff --git a/sources b/sources
index 57e086e..4290346 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tokio-serde-0.8.0.crate) = 3716743676e5ae3f8e44c2cd7c5144b3212622f843081b164da992640babc3c743792e611d894f90e8b204ee6d7fb53cc32b7879eca8565b5fdec25c7cf79c35
+SHA512 (tokio-serde-0.9.0.crate) = dac171392e8fcfb0d997b1eb0f17f5dfbf954783e47fd66aae0a0f70d3a2a913888979ee169c6c64f51d1fc2a5881876570a552a5010426175e7df9da96c55b3

diff --git a/tokio-serde-educe.patch b/tokio-serde-educe.patch
deleted file mode 100644
index 2c10c81..0000000
--- a/tokio-serde-educe.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-From a699aa4fa306c276644a5fe877128340a5d9b458 Mon Sep 17 00:00:00 2001
-From: Artem Vorotnikov <artem@vorotnikov.me>
-Date: Sun, 4 Feb 2024 11:34:35 +0300
-Subject: [PATCH] Edition 2021, bump deps, clippy fixes (#32)
-
----
- src/lib.rs                 | 22 ++++++------
- 3 files changed, 27 insertions(+), 74 deletions(-)
-
-diff --git a/src/lib.rs b/src/lib.rs
-index 17a7285..7c65919 100644
---- a/src/lib.rs
-+++ b/src/lib.rs
-@@ -381,11 +381,10 @@ pub mod formats {
-             type Error = io::Error;
- 
-             fn deserialize(self: Pin<&mut Self>, src: &BytesMut) -> Result<Item, Self::Error> {
--                Ok(self
--                    .options
-+                self.options
-                     .clone()
-                     .deserialize(src)
--                    .map_err(|e| io::Error::new(io::ErrorKind::InvalidData, e))?)
-+                    .map_err(|e| io::Error::new(io::ErrorKind::InvalidData, e))
-             }
-         }
- 
-@@ -397,12 +396,11 @@ pub mod formats {
-             type Error = io::Error;
- 
-             fn serialize(self: Pin<&mut Self>, item: &SinkItem) -> Result<Bytes, Self::Error> {
--                Ok(self
--                    .options
-+                self.options
-                     .clone()
-                     .serialize(item)
--                    .map_err(|e| io::Error::new(io::ErrorKind::InvalidData, e))?
--                    .into())
-+                    .map(From::from)
-+                    .map_err(|e| io::Error::new(io::ErrorKind::InvalidData, e))
-             }
-         }
-     }
-@@ -417,7 +415,7 @@ pub mod formats {
-         #[derive(Educe)]
-         #[educe(Debug, Default)]
-         pub struct Json<Item, SinkItem> {
--            #[educe(Debug(ignore), Default(expression = "PhantomData"))]
-+            #[educe(Debug(ignore))]
-             ghost: PhantomData<(Item, SinkItem)>,
-         }
- 
-@@ -458,7 +456,7 @@ pub mod formats {
-         #[derive(Educe)]
-         #[educe(Debug, Default)]
-         pub struct MessagePack<Item, SinkItem> {
--            #[educe(Debug(ignore), Default(expression = "PhantomData"))]
-+            #[educe(Debug(ignore))]
-             ghost: PhantomData<(Item, SinkItem)>,
-         }
- 
-@@ -472,8 +470,8 @@ pub mod formats {
-             type Error = io::Error;
- 
-             fn deserialize(self: Pin<&mut Self>, src: &BytesMut) -> Result<Item, Self::Error> {
--                Ok(rmp_serde::from_read(std::io::Cursor::new(src).reader())
--                    .map_err(|e| io::Error::new(io::ErrorKind::InvalidData, e))?)
-+                rmp_serde::from_read(std::io::Cursor::new(src).reader())
-+                    .map_err(|e| io::Error::new(io::ErrorKind::InvalidData, e))
-             }
-         }
- 
-@@ -501,7 +499,7 @@ pub mod formats {
-         #[derive(Educe)]
-         #[educe(Debug, Default)]
-         pub struct Cbor<Item, SinkItem> {
--            #[educe(Debug(ignore), Default(expression = "PhantomData"))]
-+            #[educe(Debug(ignore))]
-             _mkr: PhantomData<(Item, SinkItem)>,
-         }
- 

diff --git a/tokio-serde-fix-metadata.diff b/tokio-serde-fix-metadata.diff
index 580be37..fd7f4cd 100644
--- a/tokio-serde-fix-metadata.diff
+++ b/tokio-serde-fix-metadata.diff
@@ -1,20 +1,11 @@
---- tokio-serde-0.8.0/Cargo.toml	2020-12-24T05:41:58+00:00
-+++ tokio-serde-0.8.0/Cargo.toml	2026-11-17T13:51:17.751274+00:00
-@@ -43,7 +43,7 @@
+--- tokio-serde-0.9.0/Cargo.toml	1970-01-01T00:00:01+00:00
++++ tokio-serde-0.9.0/Cargo.toml	2026-11-26T08:19:15.732157+00:00
+@@ -73,7 +73,7 @@
  version = "1.0"
  
  [dependencies.educe]
--version = "0.4"
+-version = "0.5"
 +version = ">=0.4, <0.9"
  optional = true
  default-features = false
  
-@@ -57,7 +57,7 @@
- version = "1"
- 
- [dependencies.rmp-serde]
--version = "0.15"
-+version = "1"
- optional = true
- 
- [dependencies.serde]

                 reply	other threads:[~2026-12-02  6:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179619150744.1.7683383447252302000.rpms-rust-tokio-serde-877a1767c08f@fedoraproject.org \
    --to=asn@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox