Subject: [bug#69257] [PATCH rust-team v3 51/75] gnu: Add rust-atomic-refcell-0.1.

From: Herman Rimm <[email-masked]>
Date: Sat, 4 May 2024 13:35:23 +0200

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

Change-Id: I966d18d24b8669c97aa6c11b50f6a84d3907ee32
---
 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 b01becbbf1..c6054a716c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6155,6 +6155,27 @@ (define-public rust-atomic-polyfill-0.1
 they're not available.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-atomic-refcell-0.1
+  (package
+    (name "rust-atomic-refcell")
+    (version "0.1.13")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "atomic_refcell" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0z04ng59y22mwf315wamx78ybhjag0x6k7isc36hdgcv63c7rrj1"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-serde-json" ,rust-serde-json-1))
+       #:cargo-inputs (("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/bholley/atomic_refcell")
+    (synopsis "Threadsafe RefCell")
+    (description "This package provides a threadsafe @code{RefCell}.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-atomic-take-1
   (package
     (name "rust-atomic-take")
-- 
2.41.0