Subject: [bug#69257] [PATCH 226/228] gnu: Add rust-async-rx-0.1.

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

* gnu/packages/crates-io.scm (rust-async-rx-0.1): Add variable.

Change-Id: I7988733ce92750a0062cd8a81437b454f24cf548
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d33cefea9e..d694a218f5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4825,6 +4825,33 @@ (define-public rust-async-recursion-1
     (description "This package provides recursion for async functions in Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-async-rx-0.1
+  (package
+    (name "rust-async-rx")
+    (version "0.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "async-rx" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "18k88ihl7qkjgnpaxfmpbkm8z4qb1p5acf7pi7ilf2cs6bjy83d3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3)
+                       ("rust-pin-project-lite" ,rust-pin-project-lite-0.2))
+       #:cargo-development-inputs
+       (("rust-futures-util" ,rust-futures-util-0.3)
+        ("rust-stream-assert" ,rust-stream-assert-0.1)
+        ("rust-tokio" ,rust-tokio-1)
+        ("rust-tokio-stream" ,rust-tokio-stream-0.1))))
+    (home-page "https://github.com/jplatte/async-rx")
+    (synopsis "Utility functions for async reactive programming")
+    (description
+      "This package provides utility functions for async reactive
+programming.")
+    (license license:mpl2.0)))
+
 (define-public rust-async-signal-0.2
   (package
     (name "rust-async-signal")
-- 
2.41.0