Subject: [PATCH 225/228] gnu: Add rust-async-cell-0.2.

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 828d64255f..d33cefea9e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4065,6 +4065,27 @@ (define-public rust-async-broadcast-0.5
     (description "This package provides async broadcast channels in Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-async-cell-0.2
+  (package
+    (name "rust-async-cell")
+    (version "0.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "async_cell" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1g32g9ybgmnxl4kz44v6wxzbbmp98g69xw2s9lxhl4qqwnffwkl3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-parking-lot" ,rust-parking-lot-0.12))
+       #:cargo-development-inputs (("rust-loom" ,rust-loom-0.5))))
+    (home-page "https://gitlab.com/samsartor/async_cell")
+    (synopsis "Cell<Option<T>> you can await on")
+    (description
+     "This package provides a Cell<Option<T>> that you can await on.")
+    (license license:expat)))
+
 (define-public rust-async-channel-2
   (package
     (name "rust-async-channel")
-- 
2.41.0