[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
386/472: gnu: Add rust-hashbrown-0.14.
From: |
guix-commits |
Subject: |
386/472: gnu: Add rust-hashbrown-0.14. |
Date: |
Tue, 18 Jul 2023 14:09:44 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 104895fb4981d32684333789ece3f0c09ebe5d68
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Jul 13 12:29:51 2023 +0300
gnu: Add rust-hashbrown-0.14.
* gnu/packages/crates-io.scm (rust-hashbrown-0.14): New variable.
(rust-hashbrown-0.13): Inherit from rust-hashbrown-0.14.
---
gnu/packages/crates-io.scm | 50 ++++++++++++++++++++++++++++++++++++++++------
1 file changed, 44 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e4834f8958..58cf2e23df 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27845,40 +27845,78 @@ already-hashed or hash-like data.")
@code{#[derive(Hash32)]}.")
(license (list license:expat license:asl2.0))))
-(define-public rust-hashbrown-0.13
+(define-public rust-hashbrown-0.14
(package
(name "rust-hashbrown")
- (version "0.13.2")
+ (version "0.14.0")
(source (origin
(method url-fetch)
(uri (crate-uri "hashbrown" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "03ji3n19j4b6mf2wlla81vsixcmlivglp6hgk79d1pcxfcrw38s3"))))
+ "0yj3nf0w30pf30w503kgaw4sbjnh62l5cbmc7dd0mnczzywh2qic"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (substitute* "Cargo.toml"
+ (("=([[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+)" _
version)
+ (string-append "^" version)))))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-ahash" ,rust-ahash-0.8)
- ("rust-bumpalo" ,rust-bumpalo-3)
+ ("rust-allocator-api2" ,rust-allocator-api2-0.2)
("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
("rust-rayon" ,rust-rayon-1)
+ ("rust-rkyv" ,rust-rkyv-0.7)
("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-bumpalo" ,rust-bumpalo-3)
+ ("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-rkyv" ,rust-rkyv-0.7)
("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")
+ "This package provides a Rust port of Google's SwissTable hash map.")
(license (list license:expat license:asl2.0))))
+(define-public rust-hashbrown-0.13
+ (package
+ (inherit rust-hashbrown-0.14)
+ (name "rust-hashbrown")
+ (version "0.13.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "hashbrown" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "03ji3n19j4b6mf2wlla81vsixcmlivglp6hgk79d1pcxfcrw38s3"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-ahash" ,rust-ahash-0.8)
+ ("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))))))
+
(define-public rust-hashbrown-0.12
(package
(inherit rust-hashbrown-0.13)
- 398/472: gnu: rust-serde-1: Update to 1.0.171., (continued)
- 398/472: gnu: rust-serde-1: Update to 1.0.171., guix-commits, 2023/07/18
- 408/472: gnu: rust-trybuild-1: Update to 1.0.81., guix-commits, 2023/07/18
- 407/472: gnu: rust-target-lexicon-0.12: Update to 0.12.9., guix-commits, 2023/07/18
- 411/472: gnu: Add rust-cfg-expr-0.15., guix-commits, 2023/07/18
- 413/472: gnu: Add rust-build-context-0.1., guix-commits, 2023/07/18
- 429/472: gnu: rust-futures-executor-0.3: Update to 0.3.28., guix-commits, 2023/07/18
- 418/472: gnu: Add rust-platform-info-2., guix-commits, 2023/07/18
- 219/472: gnu: Remove rust-sct-0.3., guix-commits, 2023/07/18
- 226/472: gnu: Remove rust-users-0.10., guix-commits, 2023/07/18
- 371/472: gnu: rust-once-cell-1: Update to 1.18.0., guix-commits, 2023/07/18
- 386/472: gnu: Add rust-hashbrown-0.14.,
guix-commits <=
- 362/472: gnu: Add rust-anstream-0.3., guix-commits, 2023/07/18
- 390/472: gnu: rust-quote-1: Update to 1.0.29., guix-commits, 2023/07/18
- 404/472: gnu: rust-shell-escape-0.1: Update to 0.1.5., guix-commits, 2023/07/18
- 455/472: gnu: Add rust-pyo3-macros-0.19., guix-commits, 2023/07/18
- 467/472: gnu: Add rust-rfc2047-decoder-0.2., guix-commits, 2023/07/18
- 378/472: gnu: rust-percent-encoding-2: Update to 2.3.0., guix-commits, 2023/07/18
- 383/472: gnu: rust-bumpalo-3: Update to 3.13.0., guix-commits, 2023/07/18
- 394/472: gnu: Add rust-rustc-rayon-0.5., guix-commits, 2023/07/18
- 405/472: gnu: rust-stacker-0.1: Update to 0.1.15., guix-commits, 2023/07/18
- 210/472: gnu: Remove rust-proptest-0.8., guix-commits, 2023/07/18