gnu: Add rust-hashbrown-0.12.

* gnu/packages/crates-io.scm (rust-hashbrown-0.12): New variable.
This commit is contained in:
Ricardo Wurmus 2022-08-25 19:25:24 +02:00
parent aeac28750f
commit 02cbb76392
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -26550,6 +26550,40 @@ (define-public rust-hash32-derive-0.1
@code{#[derive(Hash32)]}.")
(license (list license:expat license:asl2.0))))
(define-public rust-hashbrown-0.12
(package
(name "rust-hashbrown")
(version "0.12.3")
(source (origin
(method url-fetch)
(uri (crate-uri "hashbrown" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1268ka4750pyg2pbgsr43f0289l5zah4arir2k4igx5a8c6fg7la"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-ahash" ,rust-ahash-0.7)
("rust-bumpalo" ,rust-bumpalo-3)
("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
("rust-rayon" ,rust-rayon-1)
("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
("rust-serde" ,rust-serde-1))
#:cargo-development-inputs
(("rust-doc-comment" ,rust-doc-comment-0.3)
("rust-fnv" ,rust-fnv-1)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-rand" ,rust-rand-0.8)
("rust-rayon" ,rust-rayon-1)
("rust-serde-test" ,rust-serde-test-1))))
(home-page "https://github.com/rust-lang/hashbrown")
(synopsis "Rust port of Google's SwissTable hash map")
(description
"This package provides a Rust port of Google's SwissTable hash map")
(license (list license:expat license:asl2.0))))
(define-public rust-hashbrown-0.11
(package
(name "rust-hashbrown")