Subject: [bug#46192] [PATCH 24/22] gnu: Add rust-arc-swap-1.

From: aecepoglu <[email-masked]>
Date: Wed, 3 Feb 2021 15:10:37 +0300

* gnu/packages/crates-io.scm (rust-arc-swap-1): New variable.
---
 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 5283fd3b19..4c9b8e3f3a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1554,6 +1554,33 @@ on every platform.")
     (description "This package provides an atomically swappable Arc.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-arc-swap-1
+  (package
+    (inherit rust-arc-swap-0.4)
+    (name "rust-arc-swap")
+    (version "1.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "arc-swap" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0wwdvayqa07grw4ljvb6plbw0wdg78jcdg3hwnlq2yqljlrxdmyl"))))
+    (arguments
+      `(#:cargo-inputs
+        (("rust-adaptive-barrier"
+          ,rust-adaptive-barrier-0.1)
+         ("rust-criterion" ,rust-criterion-0.3)
+         ("rust-crossbeam-utils"
+          ,rust-crossbeam-utils-0.8)
+         ("rust-itertools" ,rust-itertools-0.9)
+         ("rust-num-cpus" ,rust-num-cpus-1)
+         ("rust-once-cell" ,rust-once-cell-1)
+         ("rust-parking-lot" ,rust-parking-lot-0.11)
+         ("rust-proptest" ,rust-proptest-0.10))))))
+
 (define-public rust-arg-enum-proc-macro-0.3
   (package
     (name "rust-arg-enum-proc-macro")
-- 
2.30.0