Subject: [PATCH 210/228] gnu: Add rust-deadpool-0.10.

From: Herman Rimm <[email-masked]>
Date: Sun, 18 Feb 2024 22:12:20 +0100

* gnu/packages/crates-io.scm (rust-deadpool-0.10): Add variable.
(rust-deadpool-0.9): Inherit from rust-deadpool-0.10.

Change-Id: I8e042045710aa8fdf87073810738dd4021824789
---
 gnu/packages/crates-io.scm | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 82c35ffa3b..8535fc72de 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18012,22 +18012,23 @@ (define-public rust-dbus-tree-0.9
      "This crate is a framework for writing D-Bus method handlers (legacy).")
     (license (list license:asl2.0 license:expat))))
 
-(define-public rust-deadpool-0.9
+(define-public rust-deadpool-0.10
   (package
     (name "rust-deadpool")
-    (version "0.9.5")
+    (version "0.10.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "deadpool" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0vl5qg5pfx0c9c41g299clfdgz9la6z8361aycb21cia1zwy07s2"))))
+        (base32 "145lq79dlc4jn7jvlcf4lb105bs3z3jy6g7d15zv7iy1g04i117v"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
                        ("rust-deadpool-runtime" ,rust-deadpool-runtime-0.1)
                        ("rust-num-cpus" ,rust-num-cpus-1)
+                       ;; Needed by rust-deadpool-0.9.
                        ("rust-retain-mut" ,rust-retain-mut-0.1)
                        ("rust-serde" ,rust-serde-1)
                        ("rust-tokio" ,rust-tokio-1))
@@ -18043,6 +18044,19 @@ (define-public rust-deadpool-0.9
 of any type.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-deadpool-0.9
+  (package
+    (inherit rust-deadpool-0.10)
+    (name "rust-deadpool")
+    (version "0.9.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "deadpool" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0vl5qg5pfx0c9c41g299clfdgz9la6z8361aycb21cia1zwy07s2"))))))
+
 (define-public rust-deadpool-0.7
   (package
     (inherit rust-deadpool-0.9)
-- 
2.41.0