mirror of
git://git.savannah.gnu.org/guix.git
synced 2024-12-29 11:46:06 +01:00
gnu: Add rust-dashmap-4.
* gnu/packages/crates-io.scm (rust-dashmap-4): New variable. (rust-dashmap-3): Inherit from above.
This commit is contained in:
parent
76d874e336
commit
f0b9917416
1 changed files with 28 additions and 7 deletions
|
@ -8620,8 +8620,35 @@ reading attributes into structs when implementing custom derives.")
|
||||||
reading attributes into structs when implementing custom derives.")
|
reading attributes into structs when implementing custom derives.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-dashmap-4
|
||||||
|
(package
|
||||||
|
(name "rust-dashmap")
|
||||||
|
(version "4.0.2")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "dashmap" version))
|
||||||
|
(file-name
|
||||||
|
(string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1773x18k5m2zw1iyibs8l3wl1p1aijdbrc0w844xys06inr46yp7"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-cfg-if" ,rust-cfg-if-1)
|
||||||
|
("rust-num-cpus" ,rust-num-cpus-1)
|
||||||
|
("rust-rayon" ,rust-rayon-1)
|
||||||
|
("rust-serde" ,rust-serde-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.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-dashmap-3
|
(define-public rust-dashmap-3
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-dashmap-4)
|
||||||
(name "rust-dashmap")
|
(name "rust-dashmap")
|
||||||
(version "3.11.10")
|
(version "3.11.10")
|
||||||
(source
|
(source
|
||||||
|
@ -8642,7 +8669,6 @@ reading attributes into structs when implementing custom derives.")
|
||||||
"#![feature(inner_deref)]" "\n"
|
"#![feature(inner_deref)]" "\n"
|
||||||
all)))
|
all)))
|
||||||
#t))))
|
#t))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-ahash" ,rust-ahash-0.3)
|
(("rust-ahash" ,rust-ahash-0.3)
|
||||||
|
@ -8653,12 +8679,7 @@ reading attributes into structs when implementing custom derives.")
|
||||||
(add-after 'unpack 'enable-unstable-features
|
(add-after 'unpack 'enable-unstable-features
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "RUSTC_BOOTSTRAP" "1")
|
(setenv "RUSTC_BOOTSTRAP" "1")
|
||||||
#t)))))
|
#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
|
(define-public rust-data-encoding-2
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue