guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

320/424: gnu: Add rust-dashmap-6.


From: guix-commits
Subject: 320/424: gnu: Add rust-dashmap-6.
Date: Sun, 10 Nov 2024 05:42:35 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 791fe201f46c7e1176080faa9850e687c7c454ef
Author: Steve George <steve@futurile.net>
AuthorDate: Thu Oct 3 09:14:23 2024 +0100

    gnu: Add rust-dashmap-6.
    
    * gnu/packages/crates-io.scm (rust-dashmap-6): New variable.
    (rust-dashmap-5): Inherit from rust-dashmap-6.
    
    Change-Id: Ibcc1061381686c589e6fac514a63d9109ea1e7bd
---
 gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++------
 1 file changed, 31 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 35555a4457..fdc1281413 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19898,34 +19898,59 @@ custom derives.")
     (description "This package provides a d-ary heap.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-dashmap-5
+(define-public rust-dashmap-6
   (package
     (name "rust-dashmap")
-    (version "5.5.3")
+    (version "6.1.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "dashmap" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0miqnlxi501vfbv6mw5jbmzgnj0wjrch3p4abvpd59s9v30lg1wp"))))
+        (base32 "1kvnw859xvrqyd1lk89na6797yvl5bri4wi9j0viz2a4j54wqhah"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-arbitrary" ,rust-arbitrary-1)
         ("rust-cfg-if" ,rust-cfg-if-1)
+        ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
         ("rust-hashbrown" ,rust-hashbrown-0.14)
         ("rust-lock-api" ,rust-lock-api-0.4)
         ("rust-once-cell" ,rust-once-cell-1)
         ("rust-parking-lot-core" ,rust-parking-lot-core-0.9)
         ("rust-rayon" ,rust-rayon-1)
-        ("rust-serde" ,rust-serde-1))))
+        ("rust-serde" ,rust-serde-1)
+        ("rust-typesize" ,rust-typesize-0.1))))
     (home-page "https://github.com/xacrimon/dashmap";)
     (synopsis "Blazing fast concurrent HashMap for Rust")
-    (description "This package implements a blazing fast concurrent HashMap
-for Rust.")
+    (description
+     "This package provides Blazing fast concurrent @code{HashMap} for Rust.")
     (license license:expat)))
 
+(define-public rust-dashmap-5
+  (package
+    (inherit rust-dashmap-6)
+    (name "rust-dashmap")
+    (version "5.5.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "dashmap" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0miqnlxi501vfbv6mw5jbmzgnj0wjrch3p4abvpd59s9v30lg1wp"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-arbitrary" ,rust-arbitrary-1)
+        ("rust-cfg-if" ,rust-cfg-if-1)
+        ("rust-hashbrown" ,rust-hashbrown-0.14)
+        ("rust-lock-api" ,rust-lock-api-0.4)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-parking-lot-core" ,rust-parking-lot-core-0.9)
+        ("rust-rayon" ,rust-rayon-1)
+        ("rust-serde" ,rust-serde-1))))))
+
 (define-public rust-dashmap-4
   (package
     (inherit rust-dashmap-5)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]