[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
151/188: gnu: Add rust-dashmap-3.
From: |
guix-commits |
Subject: |
151/188: gnu: Add rust-dashmap-3. |
Date: |
Mon, 12 Oct 2020 02:25:27 -0400 (EDT) |
arunisaac pushed a commit to branch master
in repository guix.
commit 9de76735dba9f4c44a51e755e2db472cdb528d49
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Sun Sep 20 13:14:41 2020 +0530
gnu: Add rust-dashmap-3.
* gnu/packages/crates-io.scm (rust-dashmap-3): New variable.
---
gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0af7460..0ef859d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5831,6 +5831,46 @@ reading attributes into structs when implementing custom
derives.")
reading attributes into structs when implementing custom derives.")
(license license:expat)))
+(define-public rust-dashmap-3
+ (package
+ (name "rust-dashmap")
+ (version "3.11.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dashmap" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ddrjj4khb0s263pw278g5dvbhaid40611h123s9w5shr0phw9hg"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Enable unstable features
+ (substitute* "src/lib.rs"
+ (("#!\\[cfg_attr" all)
+ (string-append "#![feature(map_get_key_value)]" "\n"
+ "#![feature(inner_deref)]" "\n"
+ all)))
+ #t))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-ahash" ,rust-ahash-0.3)
+ ("rust-hashbrown" ,rust-hashbrown-0.8)
+ ("rust-serde" ,rust-serde-1))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'enable-unstable-features
+ (lambda _
+ (setenv "RUSTC_BOOTSTRAP" "1")
+ #t)))))
+ (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.")
+ (license license:expat)))
+
(define-public rust-data-encoding-2
(package
(name "rust-data-encoding")
- 101/188: gnu: Add rust-cookie-store-0.12., (continued)
- 101/188: gnu: Add rust-cookie-store-0.12., guix-commits, 2020/10/12
- 117/188: gnu: Add rust-bindgen-0.55., guix-commits, 2020/10/12
- 118/188: gnu: Add rust-zstd-sys-1., guix-commits, 2020/10/12
- 130/188: gnu: Add rust-tokio-util-0.3., guix-commits, 2020/10/12
- 124/188: gnu: Add rust-tower-layer-0.3., guix-commits, 2020/10/12
- 129/188: gnu: Add rust-tokio-openssl-0.4., guix-commits, 2020/10/12
- 136/188: gnu: Add rust-tracing-attributes-0.1., guix-commits, 2020/10/12
- 138/188: gnu: Add rust-libmimalloc-sys-0.1., guix-commits, 2020/10/12
- 141/188: gnu: Add rust-tokio-tls-0.3., guix-commits, 2020/10/12
- 147/188: gnu: Add rust-tokio-executor-0.2., guix-commits, 2020/10/12
- 151/188: gnu: Add rust-dashmap-3.,
guix-commits <=
- 149/188: gnu: Add rust-rustc-hash-1.0., guix-commits, 2020/10/12
- 162/188: gnu: Add rust-libflate-0.1., guix-commits, 2020/10/12
- 157/188: gnu: Add rust-mysqlclient-sys-0.2., guix-commits, 2020/10/12
- 155/188: gnu: Add rust-parking-lot-0.11., guix-commits, 2020/10/12
- 159/188: gnu: Add rust-r2d2., guix-commits, 2020/10/12
- 152/188: gnu: Add rust-h2-0.2., guix-commits, 2020/10/12
- 154/188: gnu: Add rust-parking-lot-core-0.8., guix-commits, 2020/10/12
- 163/188: gnu: Add rust-libflate-lz77-1., guix-commits, 2020/10/12
- 164/188: gnu: Add rust-libflate-1., guix-commits, 2020/10/12
- 170/188: gnu: Add rust-trust-dns-resolver-0.19., guix-commits, 2020/10/12