diff options
author | Steve George <steve@futurile.net> | 2024-10-03 09:14:23 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:04:52 +0200 |
commit | bce0a37086bd38ec9ecb58f50e796c0dce41a937 (patch) | |
tree | 3f443bdcd19434699b855438b697056cd1d2d1f1 /gnu | |
parent | b57d46c7efa664b62b038b809e537fd12f57ce06 (diff) | |
download | guix-bce0a37086bd38ec9ecb58f50e796c0dce41a937.tar.gz guix-bce0a37086bd38ec9ecb58f50e796c0dce41a937.zip |
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
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 37 |
1 files changed, 31 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 03716b6eb8..6f4ee5eb5b 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) |